For some weird reason, it tries to use OS directories. Override.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
PKG_NAME:=lftp
PKG_VERSION:=4.9.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://lftp.tech/ftp/ \
--without-gnutls \
--without-libidn2 \
--without-libresolv \
+ --with-expat="$(STAGING_DIR)/usr" \
--with-openssl="$(STAGING_DIR)/usr" \
--with-readline="$(STAGING_DIR)/usr" \
--with-zlib="$(STAGING_DIR)/usr" \