aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/python3/0010-dont-skip-rpath.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/python3/0010-dont-skip-rpath.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/python3/0010-dont-skip-rpath.patch')
-rw-r--r--vcpkg/ports/python3/0010-dont-skip-rpath.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/vcpkg/ports/python3/0010-dont-skip-rpath.patch b/vcpkg/ports/python3/0010-dont-skip-rpath.patch
new file mode 100644
index 0000000..610f4a5
--- /dev/null
+++ b/vcpkg/ports/python3/0010-dont-skip-rpath.patch
@@ -0,0 +1,31 @@
+From f7439eae9b2f8d91b6689efbf01292a044f3a3fe Mon Sep 17 00:00:00 2001
+From: Osyotr <Osyotr@users.noreply.github.com>
+Date: Thu, 4 Aug 2022 23:49:06 +0300
+Subject: [PATCH 10/11] dont skip rpath
+
+---
+ configure.ac | 6 ++++++
+ 1 file changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 61b3266..4c2cfb4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -49,6 +49,14 @@ [$1]
+ [RESTORE_ENV]
+ )dnl
+
++if test "$ac_sys_system" != "Darwin"; then
++AS_VAR_IF([GNULD], [yes], [
++ LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags,-rpath,$vcpkg_rpath"
++], [
++ LDFLAGS="$LDFLAGS -Wl,-rpath,$vcpkg_rpath"
++])
++fi
++
+ dnl PY_CHECK_FUNC(FUNCTION, [INCLUDES], [AC_DEFINE-VAR])
+ AC_DEFUN([PY_CHECK_FUNC],
+ [ AS_VAR_PUSHDEF([py_var], [ac_cv_func_$1])
+--
+2.37.3.windows.1
+