* [Buildroot] [PATCH 1/2] package/python-pyicu: fix linking against ICU
@ 2026-12-01 2:39 James Hilliard
2026-12-01 2:39 ` [Buildroot] [PATCH 2/2] package/python-pyicu: bump to version 2.17 James Hilliard
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2026-12-01 2:39 UTC (permalink / raw)
To: buildroot; +Cc: Bernd Kuhls, James Hilliard
PyICU splits PYICU_LFLAGS on colons, not spaces. The combined -L
and -l options were passed to the linker as one search path, leaving
the extension without its ICU dependencies. Importing icu then fails
with undefined symbols.
Keep the library search path in PYICU_LFLAGS and pass the two ICU
libraries that PyICU uses through PYICU_LIBRARIES.
Fixes: c15e60c106bc ("package/python-pyicu: fix build")
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/python-pyicu/python-pyicu.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/python-pyicu/python-pyicu.mk b/package/python-pyicu/python-pyicu.mk
index 002f572b18..c26621c846 100644
--- a/package/python-pyicu/python-pyicu.mk
+++ b/package/python-pyicu/python-pyicu.mk
@@ -15,7 +15,7 @@ PYTHON_PYICU_SETUP_TYPE = setuptools
PYTHON_PYICU_ENV += \
ICU_VERSION="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --modversion`" \
PYICU_CFLAGS="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --variable=CXXFLAGS`" \
- PYICU_LFLAGS="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --libs-only-L` \
- `$(PKG_CONFIG_HOST_BINARY) icu-i18n --libs-only-l`"
+ PYICU_LFLAGS="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --libs-only-L`" \
+ PYICU_LIBRARIES="icui18n:icuuc"
$(eval $(python-package))
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-01 2:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 2:39 [Buildroot] [PATCH 1/2] package/python-pyicu: fix linking against ICU James Hilliard
2026-12-01 2:39 ` [Buildroot] [PATCH 2/2] package/python-pyicu: bump to version 2.17 James Hilliard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox