add patch to fix dso linking
This commit is contained in:
parent
d032724057
commit
260e962bf6
11
rest-fixdso.patch
Normal file
11
rest-fixdso.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- rest-0.7.6/docs/reference/rest/Makefile.in.orig 2011-02-22 16:31:17.687229767 +0000
|
||||
+++ rest-0.7.6/docs/reference/rest/Makefile.in 2011-02-22 16:31:26.528229982 +0000
|
||||
@@ -117,7 +117,7 @@
|
||||
INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
|
||||
INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
|
||||
LD = @LD@
|
||||
-LDFLAGS = @LDFLAGS@
|
||||
+LDFLAGS = @LDFLAGS@ -lgobject-2.0 -lglib-2.0
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
@ -7,6 +7,7 @@ Group: System Environment/Libraries
|
||||
License: LGPLv2
|
||||
URL: http://www.gnome.org
|
||||
Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.7/%{name}-%{version}.tar.bz2
|
||||
Patch0: rest-fixdso.patch
|
||||
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
@ -34,9 +35,10 @@ Files for development with %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .fixdso
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-gtk-doc
|
||||
%configure --disable-static --enable-gtk-doc --enable-introspection=yes
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user