mirror of
https://github.com/python/cpython.git
synced 2025-09-22 08:23:36 +00:00
[3.12] gh-110459: Make sure --with-openssl-rpath works on macOS (GH-113441) (#113535)
gh-110459: Make sure --with-openssl-rpath works on macOS (GH-113441)
* gh-110459: Make sure --with-openssl-rpath works on macOS
On macOS the `-rpath` linker flag is spelled differently
than on on platforms.
(cherry picked from commit cc13eabc7c
)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
This commit is contained in:
parent
c1b396cdf3
commit
72073ca560
3 changed files with 14 additions and 2 deletions
|
@ -0,0 +1,2 @@
|
|||
Running ``configure ... --with-openssl-rpath=X/Y/Z`` no longer fails to detect
|
||||
OpenSSL on macOS.
|
7
configure
generated
vendored
7
configure
generated
vendored
|
@ -28114,7 +28114,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
|
||||
|
||||
|
|
|
@ -7002,7 +7002,12 @@ AX_CHECK_OPENSSL([have_openssl=yes],[have_openssl=no])
|
|||
AS_VAR_IF([GNULD], [yes], [
|
||||
rpath_arg="-Wl,--enable-new-dtags,-rpath="
|
||||
], [
|
||||
rpath_arg="-Wl,-rpath="
|
||||
if test "$ac_sys_system" = "Darwin"
|
||||
then
|
||||
rpath_arg="-Wl,-rpath,"
|
||||
else
|
||||
rpath_arg="-Wl,-rpath="
|
||||
fi
|
||||
])
|
||||
|
||||
AC_MSG_CHECKING([for --with-openssl-rpath])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue