From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: Bernd Kuhls <bernd@kuhls.net>,
James Hilliard <james.hilliard1@gmail.com>
Subject: [Buildroot] [PATCH 1/2] package/python-pyicu: fix linking against ICU
Date: Mon, 30 Nov 2026 19:39:07 -0700 [thread overview]
Message-ID: <20261201023908.1875763-1-james.hilliard1@gmail.com> (raw)
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
next reply other threads:[~2026-12-01 2:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 2:39 James Hilliard [this message]
2026-12-01 2:39 ` [Buildroot] [PATCH 2/2] package/python-pyicu: bump to version 2.17 James Hilliard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261201023908.1875763-1-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox