windres: Add support for the --preprocessor-arg options
This commit is contained in:
1 parent
f89a85c973
commit
bc8c9c3a8d
1 file changed
+3
-1
@@ -126,8 +126,10 @@ while [ $# != 0 ]; do
|
|||||||
CODEPAGE="${1#*=}";;
|
CODEPAGE="${1#*=}";;
|
||||||
"--preprocessor")
|
"--preprocessor")
|
||||||
error "ENOSYS";;
|
error "ENOSYS";;
|
||||||
|
"--preprocessor-arg="*)
|
||||||
|
CPP_OPTIONS="$CPP_OPTIONS ${1#*=}";;
|
||||||
"--preprocessor-arg")
|
"--preprocessor-arg")
|
||||||
error "ENOSYS";;
|
CPP_OPTIONS="$CPP_OPTIONS $2"; shift;;
|
||||||
"-D"*)
|
"-D"*)
|
||||||
CPP_OPTIONS="$CPP_OPTIONS $1";;
|
CPP_OPTIONS="$CPP_OPTIONS $1";;
|
||||||
"-D"|"--define")
|
"-D"|"--define")
|
||||||
|
|||||||
Reference in new issue
Block a user