mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Use absolute path to exportsfile in gold plugin CMake build.
(Ninja generator requirement.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
195c6f3663
commit
5d0f76199b
@ -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
Block a user