summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-03-04 15:05:35 -0800
committerLouie S <louie@example.com>2023-03-04 15:05:35 -0800
commit8a9b2149b70c6fe47915f6be3789658a34847efa (patch)
treee0997db580739efcae33b1c558e5baed652fc3a8 /src
parentc50c292fc754106003e21474c07b03e81889dba9 (diff)
Implement checking for windres tool in configure.ac
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/Makefile.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9e670c6..80a550c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,7 @@ BUILT_SOURCES = icon/$(PACKAGE_NAME).res
CLEANFILES = icon/$(PACKAGE_NAME).res
icon/$(PACKAGE_NAME).res: icon/$(PACKAGE_NAME).ico icon/$(PACKAGE_NAME).rc
- windres icon/$(PACKAGE_NAME).rc -O coff -o $@
+ $(WINDRES) icon/$(PACKAGE_NAME).rc -O coff -o $@
endif
else
diff --git a/src/Makefile.in b/src/Makefile.in
index 93e4ac6..f2f4742 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -242,6 +242,7 @@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
+WINDRES = @WINDRES@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
@@ -782,7 +783,7 @@ uninstall-am: uninstall-binPROGRAMS
@EMBED_ICON_TRUE@@WINDOWS_TRUE@icon/$(PACKAGE_NAME).res: icon/$(PACKAGE_NAME).ico icon/$(PACKAGE_NAME).rc
-@EMBED_ICON_TRUE@@WINDOWS_TRUE@ windres icon/$(PACKAGE_NAME).rc -O coff -o $@
+@EMBED_ICON_TRUE@@WINDOWS_TRUE@ $(WINDRES) icon/$(PACKAGE_NAME).rc -O coff -o $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.