aboutsummaryrefslogtreecommitdiff
path: root/ports/aws-sdk-cpp/patch-relocatable-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/aws-sdk-cpp/patch-relocatable-rpath.patch')
-rw-r--r--ports/aws-sdk-cpp/patch-relocatable-rpath.patch12
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)