diff options
| author | Alon Levy | 2012-02-26 17:09:22 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2012-02-27 13:37:36 +0100 |
| commit | 8c741c229f6402886412f142ca1252e8a6f258a5 (patch) | |
| tree | ce0e437b671a53624d55855c53a88cb6084ef447 /configure | |
| parent | usb-desc: fix user trigerrable segfaults (!config) (diff) | |
| download | qemu-8c741c229f6402886412f142ca1252e8a6f258a5.tar.gz qemu-8c741c229f6402886412f142ca1252e8a6f258a5.tar.xz qemu-8c741c229f6402886412f142ca1252e8a6f258a5.zip | |
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 <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |
