Commit dce35a73 authored by Martin Storsjö's avatar Martin Storsjö

contribs: Define WINDRES like other tools, set it in crossfile.meson

parent 8ff6e5b5
......@@ -79,6 +79,9 @@ endif
ifneq ($(findstring $(origin WIDL),undefined default),)
WIDL := widl
endif
ifneq ($(findstring $(origin WINDRES),undefined default),)
WINDRES := windres
endif
else
ifneq ($(findstring $(origin CC),undefined default),)
CC := $(HOST)-gcc
......@@ -101,6 +104,9 @@ endif
ifneq ($(findstring $(origin WIDL),undefined default),)
WIDL := $(HOST)-widl
endif
ifneq ($(findstring $(origin WINDRES),undefined default),)
WINDRES := $(HOST)-windres
endif
endif
ifdef HAVE_ANDROID
......@@ -541,6 +547,7 @@ crossfile.meson:
echo "ar = '$(AR)'" >> $@
echo "strip = '$(STRIP)'" >> $@
echo "pkgconfig = '$(PKG_CONFIG)'" >> $@
echo "windres = '$(WINDRES)'" >> $@
echo "[properties]" >> $@
echo "needs_exe_wrapper = true" >> $@
ifdef HAVE_CROSS_COMPILE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment