package/python3: add optional dependency to gettext
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 5 Apr 2020 14:28:22 +0000 (16:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 11 Apr 2020 08:49:15 +0000 (10:49 +0200)
commit2a36dad00823ec3bcefdd3f82cfe75d55c0caeb2
tree3bac73c0940a19996ed5099847163de6d069dfb7
parent0d37924440b4b8d340e6407014dad42154dfc0e3
package/python3: add optional dependency to gettext

Tested using this defconfig:

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_SYSTEM_ENABLE_NLS=y
BR2_PACKAGE_PYTHON3=y

Without this patch:
$ readelf -a output/target/usr/lib/libpython3.8.so.1.0 | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

With this patch:
$ readelf -a output/target/usr/lib/libpython3.8.so.1.0 | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libintl.so.8]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python3/python3.mk