gettext-full: link to local libunistring
authorMichael Pratt <mcpratt@pm.me>
Sat, 13 May 2023 22:53:00 +0000 (18:53 -0400)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 15 May 2023 14:14:44 +0000 (16:14 +0200)
Configure gettext to require and link
to our local libunistring explicitly.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
package/libs/gettext-full/Makefile

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