opnsense-ports/graphics/webp-pixbuf-loader/files/patch-wscript
Franco Fichtner a80b58ec68 */*: sync with upstream
Taken from: HardenedBSD
2018-12-12 07:35:20 +01:00

13 lines
611 B
Text

--- wscript.orig 2018-10-31 22:31:58 UTC
+++ wscript
@@ -5,8 +5,8 @@ def options(opt):
def configure(conf):
conf.load('compiler_c glib2')
conf.find_program('gdk-pixbuf-query-loaders')
- conf.check_cc(lib='webp', header_name='webp/decode.h',
- uselib_store='WEBP', mandatory=True)
+ conf.check_cfg(package='libwebp', uselib_store='WEBP',
+ args='--cflags --libs', mandatory=True)
conf.check_cfg(package='gdk-pixbuf-2.0', uselib_store='GDK_PIXBUF',
atleast_version='2.22.0', args='--cflags --libs',
mandatory=True)