diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-01 15:47:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-01 15:47:12 +0100 |
| commit | 2def26f93946953149baadee2a9c5b59f6ab32cf (patch) | |
| tree | bd223d8df921bb74ce11dc7cf96f969d8cb80972 /wscript | |
| parent | fb128e6dc3b951c9d12ffb00b110714d3acfa5fd (diff) | |
Hack.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -23,6 +23,15 @@ def configure(conf): conf.check_cfg(package = 'sigc++-2.0', args = '--cflags --libs', uselib_store = 'SIGC++', mandatory = True) conf.check_cfg(package = 'libxml++-2.6', args = '--cflags --libs', uselib_store = 'LIBXML++', mandatory = True) + conf.check_cc(fragment = """ + #include <stdio.h>\n + #include <openjpeg.h>\n + int main () {\n + void* p = (void *) opj_image_create;\n + return 0;\n + } + """, msg = 'Checking for library openjpeg', lib = 'openjpeg', uselib_store = 'OPENJPEG') + if conf.options.target_windows: boost_lib_suffix = '-mt' else: |
