Files
MINGW-packages/mingw-w64-libvips/0001-Fix-dependency-to-introspect-program-on-Windows-MING.patch
Lars Kanis ffbf1df8db libvips: Fix build with gobject-introspect enabled
This could previously fail in make parallel builds due to a wrong
file dependency like so:

x86_64-w64-mingw32-gcc -march=x86-64 -mtune=generic -O2 -pipe
-D__USE_MINGW_ANSI_STDIO=1 -pipe  ../../vips-8.8.3/libvips/introspect.c
-o introspect
../../vips-8.8.3/libvips/introspect.c:42:10: fatal error: vips/intl.h:
No such file or directory
   42 | #include <vips/intl.h>
         |          ^~~~~~~~~~~~~
	 compilation terminated.
	 make[3]: *** [<builtin>: introspect] Error 1
2019-10-27 18:11:59 +01:00

35 lines
986 B
Diff

From 861f11994729596d0105acd2281f6069f893c2b1 Mon Sep 17 00:00:00 2001
From: Lars Kanis <lars@greiz-reinsdorf.de>
Date: Sun, 27 Oct 2019 17:46:38 +0100
Subject: [PATCH] Fix dependency to introspect program on Windows MINGW
---
libvips/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libvips/Makefile.am b/libvips/Makefile.am
index eab4793..73e68b7 100644
--- a/libvips/Makefile.am
+++ b/libvips/Makefile.am
@@ -87,7 +87,7 @@ AM_LDFLAGS = \
LDADD = @INTROSPECTION_LIBS@ @VIPS_CFLAGS@ libvips.la @VIPS_LIBS@
noinst_PROGRAMS = \
- introspect
+ introspect$(EXEEXT)
introspect_SOURCES = \
introspect.c
@@ -96,7 +96,7 @@ introspect_SOURCES = \
introspection_sources = @vips_introspection_sources@
# we make the vips8 API
-Vips-8.0.gir: introspect
+Vips-8.0.gir: introspect$(EXEEXT)
Vips_8_0_gir_INCLUDES = GObject-2.0
Vips_8_0_gir_CFLAGS = $(INCLUDES) -I${top_srcdir}/libvips/include
Vips_8_0_gir_LIBS = libvips.la
--
2.12.2.windows.2