summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-13 22:09:55 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-13 22:09:55 +0100
commita451df311d43ee161864bf2faa4c584a0afa8b8f (patch)
treea09b968a60eeba3a6b38dd016400263513fd1296
parenta843ccb01faacb829092eac1b86e3da9bc2c5916 (diff)
Fix missing parameters to pkg-config for libopenjp2.v1.9.1
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index ba74aa0f..bd17e619 100644
--- a/wscript
+++ b/wscript
@@ -153,7 +153,7 @@ def configure(conf):
if not patched_openjpeg:
# We don't have our patched version so we need 2.5.0 to get the GUARD_BITS option
- conf.check_cfg(package='libopenjp2', args='libopenjp2 >= 2.5.0', uselib_store='OPENJPEG', mandatory=True, msg='Checking for libopenjp2 >= 2.5.0')
+ conf.check_cfg(package='libopenjp2', args='libopenjp2 >= 2.5.0 --cflags --libs', uselib_store='OPENJPEG', mandatory=True, msg='Checking for libopenjp2 >= 2.5.0')
if conf.options.static:
conf.env.STLIB_OPENJPEG = ['openjp2']