summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-17 01:07:07 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-17 01:07:07 +0100
commit911c9c498c290debdf108ea5fbb6b93db459a29d (patch)
tree495d8f2bcf304d2e55bf1f5585cc077792151e6b /wscript
parent6bb785c1c7b0acf4ba3d0ea3511dbce30894646e (diff)
More attempts to fix static link.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index e986124..079f38a 100644
--- a/wscript
+++ b/wscript
@@ -24,7 +24,8 @@ def configure(conf):
if conf.options.static:
conf.env.HAVE_CXML = 1
- conf.env.STLIB_CXML = ['cxml', 'glibmm-2.4', 'glib-2.0', 'pcre', 'sigc-2.0', 'rt', 'xml++-2.6', 'xml2', 'pthread', 'lzma', 'dl', 'z']
+ conf.env.LIB_CXML = ['glibmm-2.4', 'glib-2.0', 'pcre', 'sigc-2.0', 'rt', 'xml++-2.6', 'xml2', 'pthread', 'lzma', 'dl', 'z']
+ conf.env.STLIB_CXML = ['cxml']
conf.check_cfg(package='libcxml', atleast_version='0.08', args='--cflags', uselib_store='CXML', mandatory=True)
else:
conf.check_cfg(package='libcxml', atleast_version='0.08', args='--cflags --libs', uselib_store='CXML', mandatory=True)