package/libsoup: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 9 Jun 2021 21:04:48 +0000 (23:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 9 Jun 2021 21:28:37 +0000 (23:28 +0200)
Fix build failure with NLS raised since bump to version 2.72.0 in commit
8e5f7f1cfc8fd7a9d5270f6a9707eb9eecfd21da

Fixes:
 - http://autobuild.buildroot.org/results/1793753629d81476a3cd6fea40029cbd7de0206c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libsoup/libsoup.mk

index 6711326711625dbb94968b040cffe4832819ff18..2f63e9e85c1c46a99a560441f3c05f735e1ea496 100644 (file)
@@ -19,7 +19,10 @@ LIBSOUP_DEPENDENCIES = \
        libglib2 \
        libpsl \
        libxml2 \
-       sqlite
+       sqlite \
+       $(TARGET_NLS_DEPENDENCIES)
+
+LIBSOUP_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
 
 LIBSOUP_CONF_OPTS = \
        -Dgssapi=disabled \