From: Alon Levy Date: Sun, 26 Feb 2012 16:09:22 +0000 (+0100) Subject: libcacard: link with glib for g_strndup X-Git-Tag: v1.1-rc0~292^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c741c229f6402886412f142ca1252e8a6f258a5;p=thirdparty%2Fqemu.git libcacard: link with glib for g_strndup Without it the produced library for make libcacard.la has an unresolved symbol. Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- diff --git a/configure b/configure index f9d533004b6..87474e9afcf 100755 --- a/configure +++ b/configure @@ -2571,8 +2571,8 @@ if test "$smartcard" != "no" ; then int main(void) { PK11_FreeSlot(0); return 0; } EOF smartcard_cflags="-I\$(SRC_PATH)/libcacard" - libcacard_libs=$($pkg_config --libs nss 2>/dev/null) - libcacard_cflags=$($pkg_config --cflags nss 2>/dev/null) + libcacard_libs="$($pkg_config --libs nss 2>/dev/null) $glib_libs" + libcacard_cflags="$($pkg_config --cflags nss 2>/dev/null) $glib_cflags" if $pkg_config --atleast-version=3.12.8 nss >/dev/null 2>&1 && \ compile_prog "$smartcard_cflags $libcacard_cflags" "$libcacard_libs"; then smartcard_nss="yes"