diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-05-31 21:20:42 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-05-31 21:20:42 +0100 |
commit | 12240b3f12bc82a14ffabc58bfba81e3523a495e (patch) | |
tree | 983cf8572d790f7cfc1b445c4e75c845f249d675 | |
parent | 1bce68c5601d47360d1e809ce494aa01ce162132 (diff) | |
download | gdk-pixbuf-12240b3f12bc82a14ffabc58bfba81e3523a495e.tar.gz |
build: Define HAVE_CONFIG_H at the project level
Instead of just for gdk-pixbuf-xlib.
-rw-r--r-- | contrib/gdk-pixbuf-xlib/meson.build | 1 | ||||
-rw-r--r-- | meson.build | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gdk-pixbuf-xlib/meson.build b/contrib/gdk-pixbuf-xlib/meson.build index 76841183a..25fbde41c 100644 --- a/contrib/gdk-pixbuf-xlib/meson.build +++ b/contrib/gdk-pixbuf-xlib/meson.build @@ -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, diff --git a/meson.build b/meson.build index ce391b912..a989b4069 100644 --- a/meson.build +++ b/meson.build @@ -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('.') |