make gconfig: fix build on Fedora-13
authorSlava Zanko <slavazanko@gmail.com>
Thu, 24 Jun 2010 09:00:59 +0000 (12:00 +0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 24 Jun 2010 15:01:15 +0000 (17:01 +0200)
Closes #2095

Avoids error like:
/usr/bin/ld: /dot-dot-dot/buildroot/output/build/buildroot-config/kconfig_load.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

Need to add -ldl to list of GTK2 development libraries.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/config/Makefile.kconfig

diff --git a/CHANGES b/CHANGES
index 5f84453bc955a8c97187faefb62416699efcf7c4..b001d623a466f80c23f1bf3a13362554c9cb4538 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -44,6 +44,7 @@
        #1999: Typo in path checking
        #2035: ipsec-tools-0.7.2 fails to build with gcc-4.4.x
        #2038: Bump ncurses to 5.7
+       #2095: make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
 
 2010.05, Released May 30th, 2010:
 
index 835d0f1900f410df91ce671d68e9846c1e8366d5..f2693482e411c784c66054c50add40200cca28fb 100644 (file)
@@ -179,7 +179,7 @@ HOSTCFLAGS_zconf.tab.o      := -I$(src)
 HOSTLOADLIBES_qconf    = $(KC_QT_LIBS) -ldl
 HOSTCXXFLAGS_qconf.o   = $(KC_QT_CFLAGS) -D LKC_DIRECT_LINK
 
-HOSTLOADLIBES_gconf    = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0`
+HOSTLOADLIBES_gconf    = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` -ldl
 HOSTCFLAGS_gconf.o     = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \
                           -D LKC_DIRECT_LINK