Merge pull request #706 from astavale/add-c-header-to-gir

Add C header to GIR file
This commit is contained in:
John Cupitt 2017-08-08 16:58:08 +02:00 committed by GitHub
commit a59b9e6c7e

View File

@ -105,14 +105,15 @@ Vips_8_0_gir_LIBS = libvips.la
Vips_8_0_gir_FILES = $(introspection_sources) Vips_8_0_gir_FILES = $(introspection_sources)
INTROSPECTION_GIRS += Vips-8.0.gir INTROSPECTION_GIRS += Vips-8.0.gir
# don't use # don't use
# --warn-all --verbose # --warn-all --verbose
# too annoying # too annoying
Vips_8_0_gir_SCANNERFLAGS = \ Vips_8_0_gir_SCANNERFLAGS = \
--program=./introspect$(EXEEXT) \ --program=./introspect$(EXEEXT) \
--identifier-prefix=Vips \ --identifier-prefix=Vips \
--identifier-prefix=vips \ --identifier-prefix=vips \
--symbol-prefix=vips --symbol-prefix=vips \
--c-include=vips/vips.h
girdir = $(datadir)/gir-1.0 girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS) gir_DATA = $(INTROSPECTION_GIRS)