termux-packages/x11-packages/webkit2gtk/OptionsCommon.cmake.patch

12 lines
539 B
Diff
Raw Normal View History

2022-04-26 18:57:15 +02:00
--- a/Source/cmake/OptionsCommon.cmake
+++ b/Source/cmake/OptionsCommon.cmake
@@ -112,7 +112,7 @@
# passing the option DT_RUNPATH is used, which can be overriden by the value
# of LD_LIBRARY_PATH set in the environment, resulting in unexpected behaviour
# for developers.
-if (LD_SUPPORTS_DISABLE_NEW_DTAGS)
+if (FALSE)
string(APPEND CMAKE_EXE_LINKER_FLAGS " -Wl,--disable-new-dtags")
string(APPEND CMAKE_SHARED_LINKER_FLAGS " -Wl,--disable-new-dtags")
string(APPEND CMAKE_MODULE_LINKER_FLAGS " -Wl,--disable-new-dtags")