build: 3rd party lib linking symbols cleanup
authortheuni <theuni-nospam-@xbmc.org>
Fri, 16 Sep 2011 05:02:39 +0000 (01:02 -0400)
committertheuni <theuni-nospam-@xbmc.org>
Fri, 16 Sep 2011 19:54:27 +0000 (15:54 -0400)
commit493650feac5c2143d33cd527536797b1c8b3db6c
tree93864ee19a0f79c892f395b0919a36a508057855
parent4511eb1fcf75c2b562a4b0da2018572f6865ae17
build: 3rd party lib linking symbols cleanup

Fix several linking concerns that are usually masked in one way or another.
To see, add -Wl,--unresolved-symbols=ignore-in-shared-libs to LDFLAGS

1. The 3rd party libs that we build can't resolve our wrapped functions until
   runtime, so tell the linker not to expect them.
2. Various vis and screensavers were relying on XBMC bringing in GL libs.

With these fixes, linking opts like --unresolved-symbols=ignore-in-shared-libs
now work properly. This is useful for annoying libs like gles or egl which
may depend on other libs that cannot resolve at link-time.

TODO: ProjectM still neeeds attention
15 files changed:
lib/cximage-6.0/Makefile.in
lib/libdvd/Makefile.in
lib/libexif/Makefile.in
lib/libhdhomerun/Makefile.in
lib/libid3tag/Makefile.in
lib/libsidplay2/Makefile.in
lib/nosefart/Makefile.in
lib/snesapu/SNES/SNESAPU/Makefile.in
lib/stsound/StSoundLibrary/Makefile.in
lib/timidity/Makefile.in
lib/vgmstream/Makefile.in
lib/xbadpcm/Makefile.in
xbmc/screensavers/rsxs-0.9/xbmc/Makefile.in
xbmc/visualizations/OpenGLSpectrum/Makefile.in
xbmc/visualizations/WaveForm/Makefile.in