forked from OSchip/llvm-project
Use absolute path to exportsfile in gold plugin CMake build.
(Ninja generator requirement.) llvm-svn: 143783
This commit is contained in:
parent
0edba5c989
commit
00221ce63d
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue