diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qtwebengine/rpath.diff | |
Diffstat (limited to 'vcpkg/ports/qtwebengine/rpath.diff')
| -rw-r--r-- | vcpkg/ports/qtwebengine/rpath.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/qtwebengine/rpath.diff b/vcpkg/ports/qtwebengine/rpath.diff new file mode 100644 index 0000000..8a0a56a --- /dev/null +++ b/vcpkg/ports/qtwebengine/rpath.diff @@ -0,0 +1,22 @@ +diff --git a/src/3rdparty/chromium/build/config/gcc/BUILD.gn b/src/3rdparty/chromium/build/config/gcc/BUILD.gn +index 147ebfc53..0febdd592 100644 +--- a/src/3rdparty/chromium/build/config/gcc/BUILD.gn ++++ b/src/3rdparty/chromium/build/config/gcc/BUILD.gn +@@ -66,7 +66,7 @@ config("rpath_for_built_shared_libraries") { + if (!is_android && current_os != "aix" && !is_castos) { + # Note: Android, Aix don't support rpath. Chromecast has its own logic for + # setting the rpath in //build/config/chromecast. +- if (current_toolchain != default_toolchain || gcc_target_rpath == "") { ++ if (gcc_target_rpath == "") { + ldflags = [ + # Want to pass "\$". GN will re-escape as required for ninja. + "-Wl,-rpath=\$ORIGIN", +@@ -80,7 +80,7 @@ config("rpath_for_built_shared_libraries") { + } + } + +-if (is_component_build && !is_android) { ++if (!is_android) { + # See the rpath_for... config above for why this is necessary for component + # builds. + executable_and_shared_library_configs_ = |