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 <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel 2021-08-15 01:39:33 +03:00
parent 51f9a12a54
commit b37da1e6fc
1 changed files with 2 additions and 0 deletions

View 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/