fix pedantic linking

This commit is contained in:
Matthias Clasen 2010-05-25 04:25:06 +00:00
parent 6a00252635
commit de00ddce25
2 changed files with 14 additions and 0 deletions

9
dconf-libs.patch Normal file
View File

@ -0,0 +1,9 @@
diff -up dconf-0.3.1/bin/Makefile.am.pedantic-linker dconf-0.3.1/bin/Makefile.am
--- dconf-0.3.1/bin/Makefile.am.pedantic-linker 2010-05-25 00:22:12.837474369 -0400
+++ dconf-0.3.1/bin/Makefile.am 2010-05-25 00:22:25.043736206 -0400
@@ -3,4 +3,4 @@ INCLUDES = -I$(top_srcdir)/{common,engin
bin_PROGRAMS = dconf
-dconf_LDADD = ../client/libdconf.la
+dconf_LDADD = ../client/libdconf.la $(gio_LIBS)

View File

@ -11,13 +11,18 @@ Source0: http://download.gnome.org/sources/dconf/0.3/dconf-%{version}.tar
BuildRequires: glib2-devel >= 2.25.7
Requires: dbus
Patch0: dconf-libs.patch
BuildRequires: automake autoconf libtool
%description
dconf is a low-level configuration system. Its main purpose is to provide a
backend to the GSettings API in GLib.
%prep
%setup -q
%patch0 -p1 -b .libs
autoreconf -i -f
%build
%configure