Update -rpath usage.

This commit is contained in:
casey langen 2021-12-27 18:55:37 -08:00
parent eb742d252c
commit c10b957689
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
0.96.9
* fixed `-rpath` to use `$ORIGIN` instead of `./` to appease `Feodra 35`.
0.96.8
* updated `FfmpegDecoder` to perform resampling internally when `WasapiOutput`

View File

@ -9,6 +9,6 @@ endif()
add_executable(core_c_demo ${CORE_C_DEMO_SRCS})
set_target_properties(core_c_demo PROPERTIES LINK_FLAGS "-Wl,-rpath,./")
set_target_properties(core_c_demo PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN")
target_link_libraries(core_c_demo ${musikcube_LINK_LIBS} musikcore)

View File

@ -79,7 +79,7 @@ configure_file("musikcube.in" "musikcube" @ONLY)
add_executable(musikcube ${CUBE_SRCS})
add_definitions(-DNCURSES_WIDECHAR)
set_target_properties(musikcube PROPERTIES LINK_FLAGS "-Wl,-rpath,./")
set_target_properties(musikcube PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN")
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
if (${LINK_STATICALLY} MATCHES "true")

View File

@ -12,7 +12,7 @@ endif()
configure_file("musikcubed.in" "musikcubed" @ONLY)
add_executable(musikcubed ${DAEMON_SRCS})
set_target_properties(musikcubed PROPERTIES LINK_FLAGS "-Wl,-rpath,./")
set_target_properties(musikcubed PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN")
if (${LINK_STATICALLY} MATCHES "true")
find_library(EVLIB NAMES libev.a ev)