From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2KAy-0007Cc-NE for qemu-devel@nongnu.org; Tue, 28 Feb 2012 05:21:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2KAi-00040l-9Y for qemu-devel@nongnu.org; Tue, 28 Feb 2012 05:20:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2KAi-00040C-1d for qemu-devel@nongnu.org; Tue, 28 Feb 2012 05:20:40 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1SAKcVJ026981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 28 Feb 2012 05:20:38 -0500 From: Gerd Hoffmann Date: Tue, 28 Feb 2012 11:20:20 +0100 Message-Id: <1330424430-23015-12-git-send-email-kraxel@redhat.com> In-Reply-To: <1330424430-23015-1-git-send-email-kraxel@redhat.com> References: <1330424430-23015-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 11/21] libcacard: link with glib for g_strndup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alon Levy , Gerd Hoffmann From: Alon Levy Without it the produced library for make libcacard.la has an unresolved symbol. Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f9d5330..87474e9 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" -- 1.7.1