From: Thomas Petazzoni Date: Tue, 19 Apr 2016 21:38:41 +0000 (+0200) Subject: fio: add optional dependency on libaio X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71122f537d2ff93f206818c8d91e06f55fe2b5e2;p=buildroot.git fio: add optional dependency on libaio fio can automatically detect and use libaio when available, so this commit makes this optional dependency explicit. Suggested by Charles in bug #8851. Signed-off-by: Thomas Petazzoni --- diff --git a/package/fio/fio.mk b/package/fio/fio.mk index acebb6fe70..6c4ad6c4ca 100644 --- a/package/fio/fio.mk +++ b/package/fio/fio.mk @@ -9,6 +9,10 @@ FIO_SITE = git://git.kernel.dk/fio.git FIO_LICENSE = GPLv2 + special obligations FIO_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBAIO),y) +FIO_DEPENDENCIES += libaio +endif + define FIO_CONFIGURE_CMDS (cd $(@D); ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)") endef