gettext-full: link to local libunistring

Configure gettext to require and link
to our local libunistring explicitly.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
This commit is contained in:
Michael Pratt 2023-05-13 18:53:00 -04:00 committed by Christian Marangi
parent 0288415877
commit 0779c47be6
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -22,10 +22,10 @@ PKG_LICENSE:=GPL-3.0-or-later
PKG_CPE_ID:=cpe:/a:gnu:gettext PKG_CPE_ID:=cpe:/a:gnu:gettext
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=gettext-full/host libxml2 PKG_BUILD_DEPENDS:=gettext-full/host libunistring libxml2
PKG_BUILD_PARALLEL:=0 PKG_BUILD_PARALLEL:=0
HOST_BUILD_DEPENDS:=gperf/host libxml2/host HOST_BUILD_DEPENDS:=gperf/host libunistring/host libxml2/host
HOST_BUILD_PARALLEL:=0 HOST_BUILD_PARALLEL:=0
PKG_SUBDIRS:= \ PKG_SUBDIRS:= \
@ -87,6 +87,7 @@ CONFIGURE_ARGS += \
--with-included-gettext \ --with-included-gettext \
--without-libintl-prefix \ --without-libintl-prefix \
--without-libexpat-prefix \ --without-libexpat-prefix \
--with-libunistring-prefix=$(STAGING_DIR)/usr \
--with-libxml2-prefix=$(STAGING_DIR) \ --with-libxml2-prefix=$(STAGING_DIR) \
--without-emacs --without-emacs
@ -98,6 +99,7 @@ HOST_CONFIGURE_ARGS += \
--disable-java \ --disable-java \
--disable-openmp \ --disable-openmp \
--without-emacs \ --without-emacs \
--with-libunistring-prefix=$(STAGING_DIR_HOSTPKG) \
--with-libxml2-prefix=$(STAGING_DIR_HOSTPKG) --with-libxml2-prefix=$(STAGING_DIR_HOSTPKG)
HOST_CONFIGURE_VARS += \ HOST_CONFIGURE_VARS += \