Skip to content

Commit a5250a7

Browse files
authored
Try allowing multiple definitions
1 parent 749775b commit a5250a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,16 @@ else()
136136
${link_libs}
137137
)
138138
else()
139+
set_target_properties(clangCppInterOp PROPERTIES
140+
LINK_FLAGS "-Wl,--allow-multiple-definition"
141+
)
139142
llvm_add_library(clangCppInterOp
143+
DISABLE_LLVM_LINK_LLVM_DYLIB
140144
CppInterOp.cpp
141145
CXCppInterOp.cpp
142146
${DLM}
147+
LINK_LIBS
148+
${link_libs}
143149
)
144150
endif()
145151
endif()

0 commit comments

Comments
 (0)