summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFam Zheng2017-09-07 10:29:16 +0200
committerFam Zheng2017-09-22 04:20:34 +0200
commit7b62bf5a701069b14a083de9af7e971e7603b36c (patch)
treebe5a2ea88900ef64ecea97db5282da764972284f /configure
parentbuildsys: Move audio libs to per object (diff)
downloadqemu-7b62bf5a701069b14a083de9af7e971e7603b36c.tar.gz
qemu-7b62bf5a701069b14a083de9af7e971e7603b36c.tar.xz
qemu-7b62bf5a701069b14a083de9af7e971e7603b36c.zip
buildsys: Move libcacard cflags/libs to per object
Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170907082918.7299-8-famz@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index fd544e7b55..c5d5f02c08 100755
--- a/configure
+++ b/configure
@@ -4206,8 +4206,6 @@ if test "$smartcard" != "no"; then
if $pkg_config libcacard; then
libcacard_cflags=$($pkg_config --cflags libcacard)
libcacard_libs=$($pkg_config --libs libcacard)
- QEMU_CFLAGS="$QEMU_CFLAGS $libcacard_cflags"
- libs_softmmu="$libs_softmmu $libcacard_libs"
smartcard="yes"
else
if test "$smartcard" = "yes"; then
@@ -5785,6 +5783,8 @@ fi
if test "$smartcard" = "yes" ; then
echo "CONFIG_SMARTCARD=y" >> $config_host_mak
+ echo "SMARTCARD_CFLAGS=$libcacard_cflags" >> $config_host_mak
+ echo "SMARTCARD_LIBS=$libcacard_libs" >> $config_host_mak
fi
if test "$libusb" = "yes" ; then