mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 22:53:16 -04:00
CMake: Add --disable-new-dtags
linker option for deploy-stub
This forces the use of DT_RPATH instead of DT_RUNPATH, see #1358 and 8617eb917c9009f1a540b4d789e261a50e3a5387
This commit is contained in:
parent
d239f48a43
commit
f243d9983f
@ -17,7 +17,7 @@ elseif(IS_LINUX OR IS_FREEBSD)
|
|||||||
set_target_properties(deploy-stub PROPERTIES
|
set_target_properties(deploy-stub PROPERTIES
|
||||||
INSTALL_RPATH "$ORIGIN"
|
INSTALL_RPATH "$ORIGIN"
|
||||||
BUILD_WITH_INSTALL_RPATH ON)
|
BUILD_WITH_INSTALL_RPATH ON)
|
||||||
target_link_options(deploy-stub PRIVATE -Wl,-z,origin -rdynamic)
|
target_link_options(deploy-stub PRIVATE -Wl,--disable-new-dtags -Wl,-z,origin -rdynamic)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(deploy-stub Python::Python)
|
target_link_libraries(deploy-stub Python::Python)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user