mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
build: Do not force inclusion of gtk.h
GCC will not do the right thing, and it will just break the build when
trying to include gtk.h first.
We'll have to live with the warning from the compiler about a missing
gtk_init() — though it would be better not to have to init GTK at all to
generate the introspection data.
This commit unbreaks the build in GNOME Continuous introduced by commit
6838861d26
.
This commit is contained in:
parent
281e5aa45e
commit
15cc85db29
@ -1366,7 +1366,7 @@ introspection_files += \
|
||||
endif
|
||||
|
||||
include $(INTROSPECTION_MAKEFILE)
|
||||
INTROSPECTION_SCANNER_ENV = CC="$(CC)" CPPFLAGS="-I$(top_srcdir) -I$(top_builddir) -I. -include gtk.h"
|
||||
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
|
||||
INTROSPECTION_COMPILER_ARGS = \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=. \
|
||||
|
Loading…
Reference in New Issue
Block a user