aboutsummaryrefslogtreecommitdiff
path: root/lib/timidity
diff options
context:
space:
mode:
authorS. Davilla <davilla@4pi.com>2011-03-09 00:04:18 -0500
committerS. Davilla <davilla@4pi.com>2011-03-09 00:23:03 -0500
commit7f09c04d325765d51554697ed67117d2612156c1 (patch)
treeec4342a5ea605ea303f54d0dfbcac19f961bae1d /lib/timidity
parentb27f04cca4c421ae53e242884a3f0d4f5e8e6930 (diff)
[darwin] changed, replace wrapping with wrapper.rb with linker alias_list
Diffstat (limited to 'lib/timidity')
-rw-r--r--lib/timidity/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/timidity/Makefile.in b/lib/timidity/Makefile.in
index d60e543147..fa9f20806b 100644
--- a/lib/timidity/Makefile.in
+++ b/lib/timidity/Makefile.in
@@ -1,4 +1,5 @@
ARCH=@ARCH@
+SYSROOT=@SYSROOT@
CFLAGS+=-D_LINUX -fPIC -DHAVE_GETTIMEOFDAY -I. -Itimidity -Ilibarc -Iutils
ifeq ($(ARCH), powerpc-osx)
@@ -53,9 +54,8 @@ SLIB=@abs_top_srcdir@/system/players/paplayer/timidity-@ARCH@.so
$(SLIB): $(OBJS) exports.def
ifeq ($(findstring osx,$(ARCH)), osx)
- ld -bundle -undefined dynamic_lookup -o $@ $(OBJS) $(BUNDLE1_O)
- @abs_top_srcdir@/tools/Mach5/wrapper.rb $@;mv output.so $@
- chmod +x $@
+ $(CXX) $(SYSROOT) -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
endif