diff options
author | S. Davilla <davilla@4pi.com> | 2011-03-09 00:04:18 -0500 |
---|---|---|
committer | S. Davilla <davilla@4pi.com> | 2011-03-09 00:23:03 -0500 |
commit | 7f09c04d325765d51554697ed67117d2612156c1 (patch) | |
tree | ec4342a5ea605ea303f54d0dfbcac19f961bae1d /lib/libhdhomerun/Makefile.in | |
parent | b27f04cca4c421ae53e242884a3f0d4f5e8e6930 (diff) |
[darwin] changed, replace wrapping with wrapper.rb with linker alias_list
Diffstat (limited to 'lib/libhdhomerun/Makefile.in')
-rw-r--r-- | lib/libhdhomerun/Makefile.in | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libhdhomerun/Makefile.in b/lib/libhdhomerun/Makefile.in index 513ece1eab..e447acaae8 100644 --- a/lib/libhdhomerun/Makefile.in +++ b/lib/libhdhomerun/Makefile.in @@ -10,10 +10,6 @@ OBJS += hdhomerun_video.o OBJS += hdhomerun_device.o CFLAGS += -Wall -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIC -ifeq ($(findstring osx,$(ARCH)), osx) - CFLAGS +=-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 - LDFLAGS +=-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -endif SLIBS += -lws2_32 DEFINES += -D__MINGW__ @@ -24,9 +20,9 @@ SLIB=$(SYSDIR)/$(SO) $(SLIB): $(OBJS) ifeq ($(findstring osx,$(ARCH)), osx) - $(CC) $(OBJS) -bundle -flat_namespace -undefined suppress -shared -o $@ - @abs_top_srcdir@/tools/Mach5/wrapper.rb $@;mv output.so $@ - chmod +x $@ + $(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 $(OBJS) else $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -shared -o $@ `cat @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.def` \ @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o |