From 1b10ce7156036684126fac70cbbbf2db783f3b47 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Thu, 24 Jun 2010 12:00:59 +0300 Subject: [PATCH] make gconfig: fix build on Fedora-13 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 Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- CHANGES | 1 + package/config/Makefile.kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 5f84453bc9..b001d623a4 100644 --- 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: diff --git a/package/config/Makefile.kconfig b/package/config/Makefile.kconfig index 835d0f1900..f2693482e4 100644 --- a/package/config/Makefile.kconfig +++ b/package/config/Makefile.kconfig @@ -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