diff --git a/wrappers/windres-wrapper.sh b/wrappers/windres-wrapper.sh index 1de8830..564cc68 100755 --- a/wrappers/windres-wrapper.sh +++ b/wrappers/windres-wrapper.sh @@ -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")