build: fix header search paths for windres calls (Win32 build).

The Win32 build was not taking the new path of git-version.h into
account and was outputting these errors:
> ../build/windows/gimp.rc:2:10: fatal error: git-version.h: No such file or directory
>  #include "git-version.h"
>           ^~~~~~~~~~~~~~~
This commit is contained in:
Jehan
2018-02-12 18:47:43 +01:00
parent 1282a95e6b
commit 5b58cc4b7c
2 changed files with 2 additions and 0 deletions

View File

@ -10,4 +10,5 @@ GIMPPLUGINRC = $(top_builddir)/build/windows/gimp-plug-ins.rc
--define TOP_SRCDIR="`echo $(top_srcdir) | sed 's*//*/*'`" \ --define TOP_SRCDIR="`echo $(top_srcdir) | sed 's*//*/*'`" \
-I"`echo $(top_srcdir)/app | sed 's%/\+%/%'`" \ -I"`echo $(top_srcdir)/app | sed 's%/\+%/%'`" \
-I"`echo $(top_builddir)/app | sed 's%/\+%/%'`"\ -I"`echo $(top_builddir)/app | sed 's%/\+%/%'`"\
-I"`echo $(top_builddir) | sed 's%/\+%/%'`"\
$(GIMPPLUGINRC) $@ $(GIMPPLUGINRC) $@

View File

@ -10,4 +10,5 @@ GIMPAPPRC = $(top_builddir)/build/windows/gimp.rc
--define TOP_SRCDIR="`echo $(top_srcdir) | sed 's*//*/*'`" \ --define TOP_SRCDIR="`echo $(top_srcdir) | sed 's*//*/*'`" \
-I"`echo $(top_srcdir)/app | sed 's%/\+%/%'`" \ -I"`echo $(top_srcdir)/app | sed 's%/\+%/%'`" \
-I"`echo $(top_builddir)/app | sed 's%/\+%/%'`"\ -I"`echo $(top_builddir)/app | sed 's%/\+%/%'`"\
-I"`echo $(top_builddir) | sed 's%/\+%/%'`"\
$(GIMPAPPRC) $@ $(GIMPAPPRC) $@