diff options
author | Fam Zheng | 2017-09-07 10:29:16 +0200 |
---|---|---|
committer | Fam Zheng | 2017-09-22 04:20:34 +0200 |
commit | 7b62bf5a701069b14a083de9af7e971e7603b36c (patch) | |
tree | be5a2ea88900ef64ecea97db5282da764972284f /configure | |
parent | buildsys: Move audio libs to per object (diff) | |
download | qemu-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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |