package/pulseaudio: fix NLS build

Fix the following build failure with NLS raised since bump to version
16.1 in commit 6f31312964:

/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/11.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: src/libpulsecommon-16.1.so.p/pulsecore_lock-autospawn.c.o: in function `.L0 ':
lock-autospawn.c:(.text+0x1f8): undefined reference to `libintl_dgettext'

Fixes:
 - http://autobuild.buildroot.org/results/58ce701da2896125507048b29ded75cf9bcd6e35

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-07-27 10:20:27 +02:00 committed by Thomas Petazzoni
parent b9e25d9937
commit e861c85d45

View File

@ -29,6 +29,8 @@ PULSEAUDIO_DEPENDENCIES = \
$(if $(BR2_PACKAGE_FFTW_SINGLE),fftw-single) \
$(if $(BR2_PACKAGE_SYSTEMD),systemd)
PULSEAUDIO_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
PULSEAUDIO_CONF_OPTS += -Dsamplerate=enabled
PULSEAUDIO_DEPENDENCIES += libsamplerate