[windres-rc] support --define, --include-dir (#26454)

* [windres-rc] support --define, --include-dir

* [windres-rc] treat --include-dir with func_file_conv()
This commit is contained in:
Dawid Wróbel 2022-08-23 21:36:24 +02:00 committed by GitHub
parent 5bb60c0580
commit e5eb2da7fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

11
scripts/buildsystems/make_wrapper/windres-rc Normal file → Executable file
View File

@ -68,6 +68,17 @@ func_windres_wrapper ()
eat= eat=
else else
case $1 in 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) -o)
eat=1 eat=1
func_file_conv "$2" func_file_conv "$2"