aboutsummaryrefslogtreecommitdiff
path: root/lib/xbadpcm
diff options
context:
space:
mode:
authortheuni <theuni-nospam-@xbmc.org>2012-06-10 02:47:22 -0400
committerCory Fields <theuni-nospam-@xbmc.org>2012-08-08 18:59:20 -0400
commita0df101d62050cfabb9371f5f874623944c04f14 (patch)
tree181273fad2e6abbe92dd8d58f21b0af8fc9ff44e /lib/xbadpcm
parent3a17cd7b68f71b7750abba0c606d3cce3af3a343 (diff)
[droid] libs: add a few links to libmath
Since android is so picky about undefined symbols, as a test-build I disabled --unresolved-symbols=ignore-all and enabled -Wl,--no-unresolved I then changed the wrapper.def to point to the real libxbmc so that our wrapped symbols could be found. In addition to the previous cmyth commit, these turned up as needing -lm. With this, all libs that link against libxbmc as well as the ones we build are verified as having no undefined symbols. Curse you bionic.
Diffstat (limited to 'lib/xbadpcm')
-rw-r--r--lib/xbadpcm/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xbadpcm/Makefile.in b/lib/xbadpcm/Makefile.in
index 2a53042781..0a2bc43e44 100644
--- a/lib/xbadpcm/Makefile.in
+++ b/lib/xbadpcm/Makefile.in
@@ -12,7 +12,7 @@ ifeq ($(findstring osx,$(ARCH)), osx)
@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o *.o $(BUNDLE1_O)
chmod +x $@
else
- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ *.o -Wl,--unresolved-symbols=ignore-all \
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ *.o -Wl,--unresolved-symbols=ignore-all -lm \
`cat @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.def` @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o
endif