diff options
| author | Carl Hetherington <carl@vertual.co.uk> | 2013-01-23 17:02:07 +0000 |
|---|---|---|
| committer | Carl Hetherington <carl@vertual.co.uk> | 2013-01-23 17:02:07 +0000 |
| commit | 125e52fbb84ab9a28f3cc9cf8a74dc8a568d4049 (patch) | |
| tree | 95deb23ce7d24c8e365139f7ae0064ad587e11d4 /wscript | |
| parent | 7cdd53cd8de4a2c84c7ccbf1c4aa47520bc3c7b1 (diff) | |
Use pkg-config to find libopenjpeg.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ def configure(conf): if conf.options.static: conf.check_cc(fragment = openjpeg_fragment, msg = 'Checking for library openjpeg', stlib = 'openjpeg', uselib_store = 'OPENJPEG') else: - conf.check_cc(fragment = openjpeg_fragment, msg = 'Checking for library openjpeg', lib = 'openjpeg', uselib_store = 'OPENJPEG') + conf.check_cfg(package = 'libopenjpeg', args = '--cflags --libs', uselib_store = 'OPENJPEG', mandatory = True) conf.check_cc(fragment = """ #include <libssh/libssh.h>\n |
