windres: Add support for the --preprocessor-arg options

This commit is contained in:
Martin Storsjö committed 2018-09-29 23:05:25 +03:00
1 parent f89a85c973
commit bc8c9c3a8d
1 file changed
+3 -1
+3 -1
View File
@@ -126,8 +126,10 @@ while [ $# != 0 ]; do
CODEPAGE="${1#*=}";;
"--preprocessor")
error "ENOSYS";;
"--preprocessor-arg="*)
CPP_OPTIONS="$CPP_OPTIONS ${1#*=}";;
"--preprocessor-arg")
error "ENOSYS";;
CPP_OPTIONS="$CPP_OPTIONS $2"; shift;;
"-D"*)
CPP_OPTIONS="$CPP_OPTIONS $1";;
"-D"|"--define")