aboutsummaryrefslogtreecommitdiff
path: root/lib/timidity
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/timidity
parent3ffe5659769242c9e54c2d83c43632ba36735c0a (diff)
[osx] cross-compile powerpc-osx
Diffstat (limited to 'lib/timidity')
-rw-r--r--lib/timidity/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/timidity/Makefile.in b/lib/timidity/Makefile.in
index fa9f20806b..fef6e28fce 100644
--- a/lib/timidity/Makefile.in
+++ b/lib/timidity/Makefile.in
@@ -1,5 +1,4 @@
ARCH=@ARCH@
-SYSROOT=@SYSROOT@
CFLAGS+=-D_LINUX -fPIC -DHAVE_GETTIMEOFDAY -I. -Itimidity -Ilibarc -Iutils
ifeq ($(ARCH), powerpc-osx)
@@ -54,7 +53,7 @@ SLIB=@abs_top_srcdir@/system/players/paplayer/timidity-@ARCH@.so
$(SLIB): $(OBJS) exports.def
ifeq ($(findstring osx,$(ARCH)), osx)
- $(CXX) $(SYSROOT) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias -bundle \
+ $(CXX) $(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 $(OBJS) $(BUNDLE1_O)
else
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -o $@ $(OBJS) `cat @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.def` @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o -Wl,--version-script=exports.def