mtools: fix host lib leakage
authorStijn Tintel <stijn@linux-ipv6.be>
Sat, 14 Aug 2021 22:39:33 +0000 (01:39 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Sat, 14 Aug 2021 22:40:47 +0000 (01:40 +0300)
The package does not build due to host lib leakage, as evidenced by
config.log:

X_CFLAGS=' -I/usr/include'
X_LIBS=' -L/usr/lib'

Fix this by disabling X with a configure var.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
utils/mtools/Makefile

index 66400e5b5b088653349dae451cdf347329c2e01c..7d7455e93e7a982dc395d118faeacc7f2c0cd371 100644 (file)
@@ -30,6 +30,8 @@ define Package/mtools/description
   Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them.
 endef
 
+CONFIGURE_VARS += ac_cv_have_x="have_x=no"
+
 define Package/mtools/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amuFormat.sh $(1)/usr/bin/