From: Lisandro Damián Nicanor Pérez Meyer Date: Wed, 7 Feb 2024 11:12:42 +0000 (+0000) Subject: remove RPATH/RUNPATH from examples' binaries. X-Git-Tag: archive/raspbian/6.4.2+dfsg-21.1+rpi1~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bfc721f8de9f2c7c0adefa70b1e1d7d4aeb56956;p=qt6-base.git 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 --- 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 "