Skip to content

-rpath wont work when targeting Mac OS X 10.3 on 10.5 #21367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hints/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,14 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x
ldflags="${ldflags} -flat_namespace"
lddlflags="${ldflags} -bundle -undefined suppress"
;;
[7-9].*) # OS X 10.3.x - 10.5.x
[7-8].*) # OS X 10.3.x - 10.4.x
lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
case "$ld" in
*MACOSX_DEPLOYMENT_TARGET*) ;;
*) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;;
esac
;;
*) # OS X 10.6.x - current
*) # OS X 10.5.x - current
# The MACOSX_DEPLOYMENT_TARGET is not needed,
# but the -mmacosx-version-min option is always used.

Expand Down