From: Stijn Tintel Date: Sat, 14 Aug 2021 22:39:33 +0000 (+0300) Subject: mtools: fix host lib leakage X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b37da1e6fc8a48c620fe8e27de4e5baa35bd5d56;p=openwrt-packages.git mtools: fix host lib leakage 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 --- diff --git a/utils/mtools/Makefile b/utils/mtools/Makefile index 66400e5b5..7d7455e93 100644 --- a/utils/mtools/Makefile +++ b/utils/mtools/Makefile @@ -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/