mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
build/windows: fix Windows build.
`windres` seems a very stupid tool and it breaks with double shlashes in parameter paths. Strengthen the rule a little.
This commit is contained in:
parent
ea66a7a974
commit
1ed8ceeb1a
1 changed files with 6 additions and 4 deletions
|
@ -2,10 +2,12 @@
|
|||
|
||||
GIMPAPPRC = $(top_builddir)/build/windows/gimp.rc
|
||||
|
||||
%.rc.o:
|
||||
# `windres` seems a very stupid tool and it breaks with double shlashes
|
||||
# in parameter paths. Strengthen the rule a little.
|
||||
%.rc.o:
|
||||
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
|
||||
--define INTERNALNAME_STR="$*" \
|
||||
--define TOP_SRCDIR="$(top_srcdir)" \
|
||||
-I$(top_srcdir)/app \
|
||||
-I$(top_builddir)/app \
|
||||
--define TOP_SRCDIR="`echo $(top_srcdir) | sed 's*//*/*'`" \
|
||||
-I"`echo $(top_srcdir)/app | sed 's%/\+%/%'`" \
|
||||
-I"`echo $(top_builddir)/app | sed 's%/\+%/%'`"\
|
||||
$(GIMPAPPRC) $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue