package/aircrack-ng: add optional cmocka dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 30 Jan 2019 17:28:34 +0000 (18:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 2 Feb 2019 14:00:13 +0000 (15:00 +0100)
cmocka dependency has been added in version 1.3 with
https://github.com/aircrack-ng/aircrack-ng/commit/e3a3a6db30ca99c2473928621a1ba234abcaebf3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/aircrack-ng/aircrack-ng.mk

index b51332ab77c43325676063521cdd9a10702718e2..64dc15a4aa6c7f4272ce11b6c193ae06c0f595f1 100644 (file)
@@ -9,6 +9,7 @@ AIRCRACK_NG_SITE = http://download.aircrack-ng.org
 AIRCRACK_NG_LICENSE = GPL-2.0+
 AIRCRACK_NG_LICENSE_FILES = LICENSE
 AIRCRACK_NG_DEPENDENCIES = \
+       $(if $(BR2_PACKAGE_CMOCKA),cmocka) \
        $(if $(BR2_PACKAGE_LIBNL),libnl) \
        $(if $(BR2_PACKAGE_OPENSSL),openssl) \
        $(if $(BR2_PACKAGE_PCRE),pcre) \