Fix missing icu .pc request.
authorCarl Hetherington <cth@carlh.net>
Mon, 17 Mar 2025 16:35:37 +0000 (17:35 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 22 Mar 2025 12:29:58 +0000 (13:29 +0100)
wscript

diff --git a/wscript b/wscript
index 18b4ef6f6fac9089ce92c6a0b8058dc93231cac5..f50228ecf1e851d4f41ff45a3ff1198a43f1680a 100644 (file)
--- a/wscript
+++ b/wscript
@@ -272,7 +272,7 @@ def configure(conf):
         conf.check_cfg(package='libcurl', args='libcurl >= 7.19.1 --cflags --libs', uselib_store='CURL', mandatory=True)
 
     # libicu
-    if conf.check_cfg(package='icu-i18n', args='--cflags --libs', uselib_store='ICU', mandatory=False) is None:
+    if conf.check_cfg(package='icu-i18n icu-uc', args='--cflags --libs', uselib_store='ICU', mandatory=False) is None:
         if conf.check_cfg(package='icu', args='--cflags --libs', uselib_store='ICU', mandatory=False) is None:
             conf.check_cxx(fragment="""
                             #include <unicode/ucsdet.h>