[ghex] Explicitly link with libgconf



commit 9e774b5690b50b7054a2ca924f04b985ae024a96
Author: Kalev Lember <kalevlember gmail com>
Date:   Tue Mar 22 23:47:42 2011 +0200

    Explicitly link with libgconf
    
    Fixes linking on recent Fedora releases where ld defaults
    to --no-add-needed option.
    
      CCLD   ghex2
    /usr/bin/ld: config.o: undefined reference to symbol 'gconf_client_get_bool'
    /usr/bin/ld: note: 'gconf_client_get_bool' is defined in DSO /usr/lib64/libgconf-2.so.4 so try adding it to the linker command line
    /usr/lib64/libgconf-2.so.4: could not read symbols: Invalid operation
    collect2: ld returned 1 exit status

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 816d06a..ed4c59c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,7 @@ AC_SUBST(LIBGTKHEX_CFLAGS)
 PKG_CHECK_MODULES(GHEX,
 		  gio-2.0                       \
 		  gtk+-2.0 >= 2.4.0 		\
+		  gconf-2.0			\
 		  libbonoboui-2.0		\
 		  libgnomeprintui-2.2)
 AC_SUBST(GHEX_CFLAGS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]