-
Notifications
You must be signed in to change notification settings - Fork 584
-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
Conversation
Fixes build on Leopard 10.5 where the use of -rpath fails with ld: -rpath can only be used when targeting Mac OS X 10.5 or later. Attempting to set MACOSX_DEPLOYMENT_TARGET is ignored.
2852175
to
728594f
Compare
The documentation for I couldn't find anything where perl adds * EU::MM uses it based on |
The compiler toolchain will default to using |
More commonly, though not applicable in this case, you might want to target an older OS but still use features from a newer SDK if the user is running a newer OS. To facilitate this, any symbols available in your newer SDK but not available on the older deployment target are weak-linked into your binary. It's your responsibility to check at runtime whether such a symbol is non-null before calling it.
No, Rather than check the deployment target, which can be tricky because there are so many ways to specify it, EU:MM could check if the linker emits an error when
No, |
Confirmed. Just running |
Fixes build on Leopard 10.5 where the use of
-rpath
fails withld: -rpath can only be used when targetting Mac OS X 10.5 or later
.Attempting to set
MACOSX_DEPLOYMENT_TARGET
is ignored.We leave it set for 10.4 & prior as the linker would default to a deployment target of 10.1 on powerpc & 10.4 on intel builds and there's no issue with this on 10.4 currently.