package/gnupg2: add optional support for libusb-compat
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 21 Feb 2016 17:34:52 +0000 (18:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 20:26:51 +0000 (21:26 +0100)
commite44f0ce28972da1c4f5509db76fda1d9cc994181
treea2459e34ba3ff5d907be49218287012f28d74f96
parent96eb6862343f59e152a8bc2ea093917d56c2ed4d
package/gnupg2: add optional support for libusb-compat

When libusb-compat was compiled before, gnupg2 will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/scdaemon | grep NEEDED
[...]
 0x0000000000000001 (NEEDED)             Shared library: [libusb-0.1.so.4]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gnupg2/gnupg2.mk