From 1beebe8bee73b70a82adb8664a611578253605f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lisandro=20Dami=C3=A1n=20Nicanor=20P=C3=A9rez=20Meyer?= Date: Sat, 13 Jan 2024 14:53:25 +0100 Subject: [PATCH] remove RPATH/RUNPATH from examples' binaries. Forwarded: not-needed Last-Update: 2023-07-23 On Debian the examples are built against system's libraries, so there is no need to set RPATH/RUNPATH. Gbp-Pq: Name remove_rpath_from_examples.patch --- cmake/QtBuildInternals/QtBuildInternalsConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake index 7b125c04..4e8784c6 100644 --- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake +++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake @@ -849,7 +849,7 @@ macro(qt_examples_build_begin) # This means that installed examples are not relocatable at the moment. We would need to # annotate where each example is installed to, to be able to derive a relative rpath, and it # seems there's no way to query such information from CMake itself. - set(CMAKE_INSTALL_RPATH "${_default_install_rpath}") + #set(CMAKE_INSTALL_RPATH "${_default_install_rpath}") set(QT_DISABLE_QT_ADD_PLUGIN_COMPATIBILITY TRUE) install(CODE " -- 2.30.2