diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2018-12-04 11:25:00 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-06 21:21:03 +0100 |
| commit | ddd006784c51887067c3d74319c41f0a7300df11 (patch) | |
| tree | cfd2ea89a3615b5cc0e179d1d51c00eea5c699db | |
| parent | 5b5c84a2a82407f7728d53ac79f0fde59f677fc3 (diff) | |
| download | buildroot-ddd006784c51887067c3d74319c41f0a7300df11.tar.gz buildroot-ddd006784c51887067c3d74319c41f0a7300df11.zip | |
package/libiscsi: add optional dependency to cunit
libiscsi uses cunit for its test suite, and autodetects its presence.
Usually, we just try to disable tests altogether, but there is no way to
do so. So, ensure proper ordering.
Note: there is an ac_cv_have_cunit variable, but it is not a true
ac_cv* cache variable, and the value provided on the command line or
environment is properly ignored.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| -rw-r--r-- | package/libiscsi/libiscsi.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libiscsi/libiscsi.mk b/package/libiscsi/libiscsi.mk index a34069d7bf..2b26a1427c 100644 --- a/package/libiscsi/libiscsi.mk +++ b/package/libiscsi/libiscsi.mk @@ -11,6 +11,10 @@ LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt LIBISCSI_INSTALL_STAGING = YES LIBISCSI_AUTORECONF = YES +ifeq ($(BR2_PACKAGE_CUNIT),y) +LIBISCSI_DEPENDENCIES += cunit +endif + LIBISCSI_CONF_OPTS = --disable-werror --disable-manpages # We need to create the m4 directory to make autoreconf work properly. |

