summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-09-02 23:29:58 +0100
committerCarl Hetherington <cth@carlh.net>2017-09-02 23:29:58 +0100
commit1e40f7458db774bf2e543ad47a5f90fe0ab8db23 (patch)
treef99aeecdd2dbb28841c534117a2e8aa651f4bcdb /wscript
parente02cc577f360d7dfd4815f870448c8e51b49cd50 (diff)
Try to fix build on OS X.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 2d4dbc5..3764afd 100644
--- a/wscript
+++ b/wscript
@@ -78,7 +78,7 @@ def configure(conf):
locale_libs = ['boost_locale%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix]
for pkg in subprocess.check_output(['pkg-config', '--list-all']).splitlines():
if pkg.startswith("icu-"):
- for lib in subprocess.check_output(['pkg-config', '--libs', pkg.split()[0]]).split():
+ for lib in subprocess.check_output(['pkg-config', '--libs-only-l', pkg.split()[0]]).split():
name = lib[2:]
if not name in locale_libs:
locale_libs.append(name)