From e5eb2da7fb508571f99c69a0f96386e815a90c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Wr=C3=B3bel?= Date: Tue, 23 Aug 2022 21:36:24 +0200 Subject: [PATCH] [windres-rc] support --define, --include-dir (#26454) * [windres-rc] support --define, --include-dir * [windres-rc] treat --include-dir with func_file_conv() --- scripts/buildsystems/make_wrapper/windres-rc | 11 +++++++++++ 1 file changed, 11 insertions(+) mode change 100644 => 100755 scripts/buildsystems/make_wrapper/windres-rc diff --git a/scripts/buildsystems/make_wrapper/windres-rc b/scripts/buildsystems/make_wrapper/windres-rc old mode 100644 new mode 100755 index bb2aac0d87..b695744fcc --- a/scripts/buildsystems/make_wrapper/windres-rc +++ b/scripts/buildsystems/make_wrapper/windres-rc @@ -68,6 +68,17 @@ func_windres_wrapper () eat= else case $1 in + --define*) + eat=1 + set x "$@" "-d $2" + shift + ;; + --include-dir*) + eat=1 + func_file_conv "$2" + set x "$@" "-I $file" + shift + ;; -o) eat=1 func_file_conv "$2"