Commit 12240b3f authored by Emmanuele Bassi's avatar Emmanuele Bassi

build: Define HAVE_CONFIG_H at the project level

Instead of just for gdk-pixbuf-xlib.
parent 1bce68c5
......@@ -21,7 +21,6 @@ gdkpixbuf_xlib = library('gdk_pixbuf_xlib-2.0',
soversion: soversion,
version: libversion,
c_args: common_cflags + gdk_pixbuf_cflags + [
'-DHAVE_CONFIG_H',
'-DSTDC_HEADERS',
],
link_args: common_ldflags,
......
......@@ -378,6 +378,7 @@ endif
gdk_pixbuf_conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
configure_file(output: 'config.h', configuration: gdk_pixbuf_conf)
add_project_arguments([ '-DHAVE_CONFIG_H=1' ], language: 'c')
root_inc = include_directories('.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment