Skip to content

Commit

Permalink
pythongh-110459: Make sure --with-openssl-rpath works on macOS (pytho…
Browse files Browse the repository at this point in the history
…n#113441)

* pythongh-110459: Make sure --with-openssl-rpath works on macOS

On macOS the `-rpath` linker flag is spelled differently
than on on platforms.
  • Loading branch information
ronaldoussoren authored Dec 28, 2023
1 parent bfee2f7 commit cc13eab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Running ``configure ... --with-openssl-rpath=X/Y/Z`` no longer fails to detect
OpenSSL on macOS.
7 changes: 6 additions & 1 deletion configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6808,7 +6808,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])
Expand Down

0 comments on commit cc13eab

Please sign in to comment.