mirror of https://github.com/GNOME/gimp.git
build/windows: strengthen `windres` call.
This commit is contained in:
parent
05267a9a98
commit
2c6a53351a
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
GIMPPLUGINRC = $(top_builddir)/build/windows/gimp-plug-ins.rc
|
GIMPPLUGINRC = $(top_builddir)/build/windows/gimp-plug-ins.rc
|
||||||
|
|
||||||
|
# `windres` seems a very stupid tool and it breaks with double shlashes
|
||||||
|
# in parameter paths. Strengthen the rule a little.
|
||||||
%.rc.o:
|
%.rc.o:
|
||||||
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
|
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
|
||||||
--define INTERNALNAME_STR="$*" \
|
--define INTERNALNAME_STR="$*" \
|
||||||
--define TOP_SRCDIR="$(top_srcdir)" \
|
--define TOP_SRCDIR="`echo $(top_srcdir) | sed 's*//*/*'`" \
|
||||||
-I$(top_srcdir)/app \
|
-I"`echo $(top_srcdir)/app | sed 's%/\+%/%'`" \
|
||||||
-I$(top_builddir)/app \
|
-I"`echo $(top_builddir)/app | sed 's%/\+%/%'`"\
|
||||||
$(GIMPPLUGINRC) $@
|
$(GIMPPLUGINRC) $@
|
||||||
|
|
Loading…
Reference in New Issue