Skip to content

Commit

Permalink
windres: Add support for the --preprocessor-arg options
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo committed Sep 29, 2018
1 parent f89a85c commit bc8c9c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wrappers/windres-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bc8c9c3

Please sign in to comment.