From 00144b3a88c6cb95a952a67abf7c07db69f7b110 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Mon, 21 Jul 2003 09:32:15 +0000 Subject: [PATCH] make sure the sub-libraries (loaded dynamically by gdk-pixbuf) are available as DSOs, but the top-level library we still build statically only, of course --- gdk-pixbuf/gdk-pixbuf.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gdk-pixbuf/gdk-pixbuf.spec b/gdk-pixbuf/gdk-pixbuf.spec index eccbe35899..ea5e74ed5b 100644 --- a/gdk-pixbuf/gdk-pixbuf.spec +++ b/gdk-pixbuf/gdk-pixbuf.spec @@ -37,7 +37,7 @@ Distribution: OpenPKG [PLUS] Group: XWindow License: GPL Version: %{V_major}.%{V_minor} -Release: 20030708 +Release: 20030721 # list of sources Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/%{V_major}/gdk-pixbuf-%{version}.tar.bz2 @@ -68,12 +68,18 @@ AutoReqProv: no --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \ --with-glib-prefix=%{l_prefix} \ --with-gtk-prefix=%{l_prefix} \ - --disable-shared + --enable-shared + %{l_shtool} subst \ + -e 's;^\(GLIB_LIBS[^=]=\).*;\1;' \ + gdk-pixbuf/Makefile %{l_make} %{l_mflags -O} %install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/gdk-pixbuf/loaders/*.la + rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/gdk-pixbuf/loaders/*.a + rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/*.so* rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/gnome* rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/gnome %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \