diff options
| author | Kevin Lalumiere <kevin.lalumiere@gmail.com> | 2020-11-16 13:26:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-16 10:26:18 -0800 |
| commit | 3be0fec092cb4f0db935ae03680921b3dc859ed9 (patch) | |
| tree | b0b58a8330f8b1a3827fdeac230c7ef0aac45d54 /ports/aws-sdk-cpp/patch-relocatable-rpath.patch | |
| parent | 838574a4e6dfb26c956a043f50ed27b04d7e4e31 (diff) | |
| download | vcpkg-3be0fec092cb4f0db935ae03680921b3dc859ed9.tar.gz vcpkg-3be0fec092cb4f0db935ae03680921b3dc859ed9.zip | |
[aws-sdk-cpp] Make aws-sdk-cpp rpath relocatable (#14546)
* Make aws-sdk-cpp rpath relocatable (fix #14544)
This is important since vcpkg offers binary caching which could be
shared between different machines (as long as both machines use the same
"toolchains" [more technically, as long as the vcpkg hash is the same])
* Allow cross-compilation
* Update port version
Co-authored-by: Kevin Lalumiere <klalumiere@coveo.com>
Diffstat (limited to 'ports/aws-sdk-cpp/patch-relocatable-rpath.patch')
| -rw-r--r-- | ports/aws-sdk-cpp/patch-relocatable-rpath.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/aws-sdk-cpp/patch-relocatable-rpath.patch b/ports/aws-sdk-cpp/patch-relocatable-rpath.patch new file mode 100644 index 000000000..9c5a5a2c5 --- /dev/null +++ b/ports/aws-sdk-cpp/patch-relocatable-rpath.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a653e38628..76d6067646 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -142,7 +142,6 @@ else() + endif() + + # Add Linker search paths to RPATH so as to fix the problem where some linkers can't find cross-compiled dependent libraries in customer paths when linking executables. +-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) + + # build third-party targets + if (BUILD_DEPS) |
