We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 177 - Change "-framework FOO" to "-Wl,-framework,FOO"
Summary: Change "-framework FOO" to "-Wl,-framework,FOO"
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 1.2
Hardware: All Other
: P2 enhancement
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-22 12:40 UTC by Max Horn
Modified: 2006-03-24 00:20 UTC (History)
0 users

See Also:


Attachments
Patch for configure.in (3.00 KB, patch)
2006-03-22 12:40 UTC, Max Horn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Horn 2006-03-22 12:40:07 UTC
The attached patch changes configure.in to use "-framework FOO" instead of "-Wl,-framework,FOO".

This avoid some issues with certain versions of libtool that do not handle -framework properly.
Some versions of libtool will try to reorder the two parts of the option, or render the 2nd part of the argument to the relative path of a non-existent library. 

Note: It is not enough if SDL uses a version of libtool that does this correctly, because these -framework options show up in "sdl-config --libs". Hence, some 3rd party apps which still ship with an old libtool have troubles compiling under Mac OS X.
Comment 1 Max Horn 2006-03-22 12:40:27 UTC
Created attachment 90 [details]
Patch for configure.in
Comment 2 Sam Lantinga 2006-03-24 00:20:31 UTC
This patch is in CVS, along with a clean version of ltmain.sh without the framework hacks.

Thanks!