baresip: fix compilation with NLS 721/head
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 15 Dec 2021 12:32:04 +0000 (13:32 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 15 Dec 2021 12:38:40 +0000 (13:38 +0100)
Fixes issue:

/master/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lintl
  LD [M]  speex_pp.so
  LD [M]  stdio.so
collect2: error: ld returned 1 exit status
  LD [M]  syslog.so
make[3]: *** [mk/mod.mk:41: gst.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/master/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/baresip-1.1.0'

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
net/baresip/Makefile

index f687913ec3e32613502292392c09beb9dfbb8f17..31fc32fa9f2ac64e165c6c90845ba2b8b0622c3e 100644 (file)
@@ -61,6 +61,7 @@ PKG_CONFIG_DEPENDS:= \
        $(patsubst %,CONFIG_PACKAGE_baresip-mod-%,$(subst _,-,$(baresip-mods)))
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 
 define Package/baresip/Default
   SECTION:=net