| Summary: | [PATCH] Add 'Libs.private' field to pkg-config file | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Rodrigo Rebello <rprebello> |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 1.2.12 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Patch to add 'Libs.private' field to pkg-config file | ||
Besides adding the mentioned field, the included patch also modifies configure.in so that EXTRA_LDFLAGS (which is now also used as the value of 'Libs.private') no longer includes SDL_LIBS. This is done so as to prevent libraries required by SDL from being listed twice when 'pkg-config --libs --static SDL_mixer' is run (they're already shown because of the 'Requires: sdl' line in SDL_mixer.pc). Makefile.in is also adjusted accordingly. |
Created attachment 2388 [details] Patch to add 'Libs.private' field to pkg-config file In order to support static linking, SDL_mixer.pc should include a 'Libs.private' field listing all the libraries that SDL_mixer requires. This patch adds such a field.