From 71122f537d2ff93f206818c8d91e06f55fe2b5e2 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 19 Apr 2016 23:38:41 +0200 Subject: [PATCH] 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 --- package/fio/fio.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2