| Summary: | linking fails if cocoa is disabled (mac-ppc) - fix included | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86_64 | ||
| OS: | Mac OS X 10.5 (PPC) | ||
This is now hg changeset cb1f941ce38e, thanks! --ryan. |
i ran ./configure --disable-video-cocoa and i got unresolved symbols in SDL_assert.o. here is the fix: diff -r 3b33b82cdbac src/SDL_assert.c --- a/src/SDL_assert.c Thu Nov 03 11:51:47 2011 -0400 +++ b/src/SDL_assert.c Sun Nov 06 14:04:20 2011 +0100 @@ -319,7 +319,7 @@ #ifdef __WIN32__ state = SDL_PromptAssertion_windows(data); -#elif __MACOSX__ +#elif defined __MACOSX__ && defined SDL_VIDEO_DRIVER_COCOA /* This has to be done in an Objective-C (*.m) file, so we call out. */ extern SDL_assert_state SDL_PromptAssertion_cocoa(const SDL_assert_data *); state = SDL_PromptAssertion_cocoa(data);