File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,18 @@ if(NOT LLVM_ENABLE_RTTI)
31
31
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti" )
32
32
endif ()
33
33
34
+ if (APPLE )
35
+ set (LINK_FLAGS "${LINK_FLAGS} -undefined dynamic_lookup" )
36
+ endif ()
37
+
34
38
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unused-parameter" )
35
39
36
40
add_library (LLVMObfuscator SHARED Plugin.cpp )
37
41
38
42
target_include_directories (LLVMObfuscator PRIVATE ${CMAKE_SOURCE_DIR} )
39
43
target_include_directories (LLVMObfuscator PRIVATE ${CMAKE_CURRENT_BINARY_DIR} )
40
44
41
- target_link_libraries (LLVMObfuscator LLVMCore LLVMSupport )
45
+ target_link_libraries (LLVMObfuscator LLVMCore LLVMSupport LLVMInterpreter )
42
46
43
47
option (BUILD_DUMMY "Build dummy plugin" OFF )
44
48
if (BUILD_DUMMY )
You can’t perform that action at this time.
0 commit comments