updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / boxee / gcc4.6_soname.patch
blob15db1226c304e63216e9bba37e4f38878ca2116a
1 --- xbmc/cores/dvdplayer/Codecs/Makefile.in.orig 2011-06-02 17:08:23.041324030 -0700
2 +++ xbmc/cores/dvdplayer/Codecs/Makefile.in 2011-06-02 17:08:42.561587420 -0700
3 @@ -200,25 +200,25 @@
4 $(MAKE) -C $@
6 $(SYSDIR)/libdts-$(ARCH).so: $(WRAPPER) libdts/libdts/libdts.a
7 - $(CC) -o $@ $(LDFLAGS) --soname,$@ \
8 + $(CC) -o $@ $(LDFLAGS) -Wl,--soname,$@ \
9 libdts/libdts/bitstream.o \
10 libdts/libdts/downmix.o libdts/libdts/parse.o \
11 `cat $(WRAPPER:.o=.def)` $(WRAPPER)
13 $(SYSDIR)/libfaad-$(ARCH).so: $(WRAPPER) libfaad2/libfaad/libfaad.la
14 - $(CC) -o $@ $(LDFLAGS) --soname,$@ libfaad2/libfaad/*.o \
15 + $(CC) -o $@ $(LDFLAGS) -Wl,--soname,$@ libfaad2/libfaad/*.o \
16 -Wl`cat $(WRAPPER:.o=.def)` $(WRAPPER)
18 $(SYSDIR)/liba52-$(ARCH).so: $(WRAPPER) liba52/liba52/liba52.la
19 - $(CC) -o $@ $(LDFLAGS) --soname,$@ liba52/liba52/.libs/*.o \
20 + $(CC) -o $@ $(LDFLAGS) -Wl,--soname,$@ liba52/liba52/.libs/*.o \
21 -Wl`cat $(WRAPPER:.o=.def)` $(WRAPPER)
23 $(SYSDIR)/libao-$(ARCH).so: $(WRAPPER) liba52/libao/libao.a
24 - $(CC) -o $@ $(LDFLAGS) --soname,$@ liba52/libao/libao.a \
25 + $(CC) -o $@ $(LDFLAGS) -Wl,--soname,$@ liba52/libao/libao.a \
26 -Wl`cat $(WRAPPER:.o=.def)` $(WRAPPER)
28 $(SYSDIR)/libmpeg2-$(ARCH).so: $(WRAPPER) libmpeg2/libmpeg2/libmpeg2.la
29 - $(CC) -o $@ $(LDFLAGS) --soname,$@ libmpeg2/libmpeg2/.libs/*.o \
30 + $(CC) -o $@ $(LDFLAGS) -Wl,--soname,$@ libmpeg2/libmpeg2/.libs/*.o \
31 -Wl`cat $(WRAPPER:.o=.def)` $(WRAPPER)
33 libdts/libdts/libdts.a : libdts;
34 --- xbmc/cores/dvdplayer/Codecs/libdvd/Makefile.in.orig 2011-06-02 17:09:20.372101279 -0700
35 +++ xbmc/cores/dvdplayer/Codecs/libdvd/Makefile.in 2011-06-02 17:09:31.418918082 -0700
36 @@ -40,12 +40,12 @@
37 else
39 $(SYSDIR)/libdvdcss-$(ARCH).so: $(WRAPPER) libdvdcss/src/.libs/libdvdcss.a
40 - $(CC) -o $@ $(LDFLAGS) $(LDFLAGS2) --soname,$@ \
41 + $(CC) -o $@ $(LDFLAGS) $(LDFLAGS2) -Wl,--soname,$@ \
42 libdvdcss/src/*.o \
43 `cat $(WRAPPER:.o=.def)` $(WRAPPER)
45 $(SYSDIR)/libdvdnav-$(ARCH).so: $(WRAPPER) $(DVDCSS_A) libdvdread/obj/libdvdread.a libdvdnav/obj/libdvdnav.a
46 - $(CC) -o $@ $(LDFLAGS) $(LDFLAGS2) --soname,$@ $(DVDCSS_O) libdvdread/obj/*.o libdvdnav/obj/*.o \
47 + $(CC) -o $@ $(LDFLAGS) $(LDFLAGS2) -Wl,--soname,$@ $(DVDCSS_O) libdvdread/obj/*.o libdvdnav/obj/*.o \
48 `cat $(WRAPPER:.o=.def)` $(WRAPPER)
50 endif