windres-wrapper.sh: actually implement -U
This commit is contained in:
1 file changed
+4
@@ -132,6 +132,10 @@ while [ $# != 0 ]; do
|
|||||||
CPP_OPTIONS="$CPP_OPTIONS $1";;
|
CPP_OPTIONS="$CPP_OPTIONS $1";;
|
||||||
"-D"|"--define")
|
"-D"|"--define")
|
||||||
CPP_OPTIONS="$CPP_OPTIONS -D$2"; shift;;
|
CPP_OPTIONS="$CPP_OPTIONS -D$2"; shift;;
|
||||||
|
"-U"*)
|
||||||
|
CPP_OPTIONS="$CPP_OPTIONS $1";;
|
||||||
|
"-U"|"--undefine")
|
||||||
|
CPP_OPTIONS="$CPP_OPTIONS -U$2"; shift;;
|
||||||
"-v"|"--verbose")
|
"-v"|"--verbose")
|
||||||
VERBOSE=true;;
|
VERBOSE=true;;
|
||||||
"-V"|"--version")
|
"-V"|"--version")
|
||||||
|
|||||||
Reference in new issue
Block a user