packages/XOrg/app/xmms/patches/glibfool.patch
blogic abbb08e346 added xmms
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 01:04:53 +00:00

55 lines
2.4 KiB
Diff

diff -urN xmms-1.2.10.orig/libxmms/Makefile.in xmms-1.2.10/libxmms/Makefile.in
--- xmms-1.2.10.orig/libxmms/Makefile.in 2007-10-06 04:12:42.000000000 +0200
+++ xmms-1.2.10/libxmms/Makefile.in 2007-10-06 04:13:52.000000000 +0200
@@ -255,6 +255,9 @@
done
libxmms.la: $(libxmms_la_OBJECTS) $(libxmms_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libxmms_la_LDFLAGS) $(libxmms_la_OBJECTS) $(libxmms_la_LIBADD) $(LIBS)
+ $(CCLD) -shared configfile.lo xmmsctrl.lo dirbrowser.lo util.lo formatter.lo titlestring.lo xentry.lo xconvert.lo \
+ -Wl,--whole-archive -Wl,--no-whole-archive ${libxmms_la_LIBADD} \
+ -lm -Wl,-rpath-link=/usr/src/owrt-X2/staging_dir/i686/usr/lib -Wl,-soname -Wl,libxmms.so.1 -o .libs/libxmms.so.1.3.1
mostlyclean-compile:
-rm -f *.$(OBJEXT) core *.core
diff -urN xmms-1.2.10.orig/xmms/Makefile.in xmms-1.2.10/xmms/Makefile.in
--- xmms-1.2.10.orig/xmms/Makefile.in 2007-10-06 04:12:42.000000000 +0200
+++ xmms-1.2.10/xmms/Makefile.in 2007-10-06 04:16:44.000000000 +0200
@@ -226,7 +226,7 @@
xmms_LDFLAGS = -export-dynamic
xmms_LDADD = @GTK_LIBS@ @PTHREAD_LIBS@ @SM_LIBS@ @VM_LIBS@ \
-@POSIX_LIBS@ $(top_builddir)/libxmms/libxmms.la @LTLIBINTL@
+@POSIX_LIBS@ -L../libxmms/.libs/ -lxmms @LTLIBINTL@
INCLUDES = @GTK_CFLAGS@ @XMMS_DEFINES@ @ARCH_DEFINES@ \
@@ -341,7 +341,7 @@
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
DIST_SOURCES = $(xmms_SOURCES)
HEADERS = $(xmmsinclude_HEADERS)
--- xmms-1.2.10.orig/wmxmms/Makefile.in 2007-10-06 04:12:42.000000000 +0200
+++ xmms-1.2.10/wmxmms/Makefile.in 2007-10-06 04:24:28.000000000 +0200
@@ -220,7 +220,7 @@
xmmsdir = @xmmsdir@
bin_PROGRAMS = wmxmms
-wmxmms_LDADD = @GTK_LIBS@ $(top_builddir)/libxmms/libxmms.la @LTLIBINTL@
+wmxmms_LDADD = @GTK_LIBS@ -L../libxmms/.libs/ -lxmms @LTLIBINTL@
wmxmms_SOURCES = \
getopt.c \
@@ -259,7 +259,7 @@
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
DIST_SOURCES = $(wmxmms_SOURCES)
DATA = $(wmxmms_DATA)