build system: fix make gconfig
authorDaniel Borca <dborca@yahoo.com>
Thu, 19 Dec 2013 03:43:24 +0000 (04:43 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 19 Dec 2013 03:43:24 +0000 (04:43 +0100)
Was getting "undefined reference to symbol 'dlsym@@GLIBC_2.2.5'".

Signed-off-by: Daniel Borca <dborca@yahoo.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/kconfig/Makefile

index 1651390a681d50f03cf1e3378d85ca8d3efbb58c..38bae809a87c1e15e3aaf25e0a2478b481f54127 100644 (file)
@@ -150,7 +150,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