More build fixes.
authorCarl Hetherington <cth@carlh.net>
Fri, 25 Sep 2015 13:20:43 +0000 (14:20 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 25 Sep 2015 13:20:43 +0000 (14:20 +0100)
wscript

diff --git a/wscript b/wscript
index 22ec79c2629def8d572a8e579f28c9ea1fb8e72f..35097734a639fc1fb9e59ce2e5630ad51940823a 100644 (file)
--- a/wscript
+++ b/wscript
@@ -160,7 +160,8 @@ def configure(conf):
         conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True)
 
     # libicu
-    conf.check_cfg(package='icu-io', args='--cflags --libs', uselib_store='ICU', mandatory=True)
+    if conf.check_cfg(package='icu-io', args='--cflags --libs', uselib_store='ICU', mandatory=False) andconf.check_cfg(package='icu-io', args='--cflags --libs', uselib_store='ICU', mandatory=False) is None:
+        Logs.pprint('RED', 'libicu not found')
 
     # libsndfile
     conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=True)