summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-02 11:35:59 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-02 11:35:59 +0100
commit2a91e6e1432835b437748baa1c5c92de63156631 (patch)
treec136a1b146361d727df3c005b3002bd569ff066b /wscript
parent61086c44009c4acd04eb5f3925373fc011696c38 (diff)
libzip uses pkg-config.
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 1 insertions, 9 deletions
diff --git a/wscript b/wscript
index d129e620b..1e28b209a 100644
--- a/wscript
+++ b/wscript
@@ -137,15 +137,7 @@ def configure(conf):
conf.check_cfg(package= '', path=conf.options.magickpp_config, args='--cppflags --cxxflags --libs', uselib_store='MAGICK', mandatory=True)
conf.check_cfg(package='libxml++-2.6', args='--cflags --libs', uselib_store='XML++', mandatory=True)
conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True)
-
- conf.check_cxx(fragment="""
- #include <zip.h>
- int main(void) { zip_open ("foo", 0, 0); }
- """,
- mandatory=True,
- msg='Checking for libzip',
- lib='zip',
- uselib_store='ZIP')
+ conf.check_cfg(package='libzip', args='--cflags --libs', uselib_store='ZIP', mandatory=True)
conf.check_cxx(fragment="""
#include <boost/version.hpp>\n