mirror of
https://github.com/rui314/mold.git
synced 2024-11-09 16:05:58 +03:00
Set LIBDIR for mold-wrapper.so
Fixes https://github.com/rui314/mold/issues/697
This commit is contained in:
parent
fdcb3c2efe
commit
8e2e6d8603
@ -16,6 +16,8 @@ endif()
|
||||
|
||||
add_executable(mold)
|
||||
target_compile_features(mold PRIVATE cxx_std_20)
|
||||
target_compile_definitions(mold PRIVATE
|
||||
"LIBDIR=\"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}\"")
|
||||
target_link_libraries(mold PRIVATE ${CMAKE_DL_LIBS})
|
||||
|
||||
if(NOT "${CMAKE_CXX_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC")
|
||||
|
Loading…
Reference in New Issue
Block a user