diff options
-rw-r--r-- | tools/gold/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gold/CMakeLists.txt b/tools/gold/CMakeLists.txt index eb4b6e6..2cc132f 100644 --- a/tools/gold/CMakeLists.txt +++ b/tools/gold/CMakeLists.txt @@ -40,6 +40,7 @@ else() set_property(SOURCE gold-plugin.cpp APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/exportsfile) - target_link_libraries(LLVMgold LTO -Wl,--version-script,exportsfile) + target_link_libraries(LLVMgold LTO + -Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/exportsfile) add_dependencies(LLVMgold gold_exports) endif() |