Skip to content

Commit 26db214

Browse files
committed
Fix link error with shared libraries
/usr/bin/ld: unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/L ibraryResolverTest.cpp.o: undefined reference to symbol '_ZN4llvm4yaml1 1convertYAMLERNS0_5InputERNS_11raw_ostreamENS_12function_refIFvRKNS_5Tw ineEEEEjm' /usr/bin/ld: lib/libLLVMObjectYAML.so.22.0git: error adding symbols: DS O missing from command line
1 parent 6c5770d commit 26db214

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set(LLVM_LINK_COMPONENTS
55
IRReader
66
JITLink
77
Object
8+
ObjectYAML
89
OrcDebugging
910
OrcJIT
1011
OrcShared

0 commit comments

Comments
 (0)