summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2023-12-28 08:42:05 (GMT)
committerGitHub <noreply@github.com>2023-12-28 08:42:05 (GMT)
commitcc13eabc7ce08accf49656e258ba500f74a1dae8 (patch)
tree17065f65914ea5838c468302ea866c598fd5fd85 /configure
parentbfee2f77e16f01a718c1044564ee624f1f2bc328 (diff)
downloadcpython-cc13eabc7ce08accf49656e258ba500f74a1dae8.zip
cpython-cc13eabc7ce08accf49656e258ba500f74a1dae8.tar.gz
cpython-cc13eabc7ce08accf49656e258ba500f74a1dae8.tar.bz2
gh-110459: Make sure --with-openssl-rpath works on macOS (#113441)
* gh-110459: Make sure --with-openssl-rpath works on macOS On macOS the `-rpath` linker flag is spelled differently than on on platforms.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 7e50abc..6d65d3a 100755
--- a/configure
+++ b/configure
@@ -27478,7 +27478,12 @@ then :
else $as_nop
- rpath_arg="-Wl,-rpath="
+ if test "$ac_sys_system" = "Darwin"
+ then
+ rpath_arg="-Wl,-rpath,"
+ else
+ rpath_arg="-Wl,-rpath="
+ fi
fi