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 193 - [patch] Don't link OpenGL/AGL frameworks unless needed
Summary: [patch] Don't link OpenGL/AGL frameworks unless needed
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 1.2
Hardware: PowerPC Mac OS X (All)
: P2 enhancement
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-01 22:09 UTC by Max Horn
Modified: 2006-04-13 09:30 UTC (History)
0 users

See Also:


Attachments
Patch for configure.in (1.86 KB, patch)
2006-04-01 22:09 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-04-01 22:09:25 UTC
The attached patch is mostly cosmetic: Currently, we always add both -framework OpenGL and -framework AGL for Mac OS X command line builds.

However, the former is only used for the Cocoa video driver, and the latter only for the Carbon video driver (as far as I can tell, at least). Hence the attached patch modifies configure.in so that each only gets added to the list of frameworks if the corresponding video driver is enabled.
Comment 1 Max Horn 2006-04-01 22:09:46 UTC
Created attachment 101 [details]
Patch for configure.in
Comment 2 Sam Lantinga 2006-04-13 09:30:24 UTC
This patch is in CVS, thanks!