summaryrefslogtreecommitdiff
path: root/package/fio
diff options
context:
space:
mode:
Diffstat (limited to 'package/fio')
-rw-r--r--package/fio/fio.mk4
1 files changed, 4 insertions, 0 deletions
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