aboutsummaryrefslogtreecommitdiff
path: root/lib/xbadpcm
diff options
context:
space:
mode:
authorbeenje <beenje@xbmc.org>2011-05-01 14:42:47 +0200
committerbeenje <beenje@xbmc.org>2011-05-02 23:00:49 +0200
commitd493b3b6375b127720b9a09fdf7e9cd410c0c4f4 (patch)
treef609633897d67a07e0a1a863e52ee5cdadc39687 /lib/xbadpcm
parent3ffe5659769242c9e54c2d83c43632ba36735c0a (diff)
[osx] cross-compile powerpc-osx
Diffstat (limited to 'lib/xbadpcm')
-rw-r--r--lib/xbadpcm/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/xbadpcm/Makefile.in b/lib/xbadpcm/Makefile.in
index 20807fd9e5..894146c771 100644
--- a/lib/xbadpcm/Makefile.in
+++ b/lib/xbadpcm/Makefile.in
@@ -1,5 +1,4 @@
ARCH=@ARCH@
-SYSROOT=@SYSROOT@
OBJS=uXboxAdpcmDecoder.o ADPCMDll.o
CFLAGS +=-D_LINUX -fPIC
CXXFLAGS += -D_LINUX -fPIC
@@ -8,7 +7,7 @@ SLIB=@abs_top_srcdir@/system/players/paplayer/adpcm-@ARCH@.so
$(SLIB): $(OBJS)
ifeq ($(findstring osx,$(ARCH)), osx)
- $(CC) $(SYSROOT) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \
+ $(CC) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \
-bundle -undefined dynamic_lookup -read_only_relocs suppress -o $@ \
@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o *.o $(BUNDLE1_O)
chmod +x $@