parent
4ba12ec416
commit
25bdf1945d
|
@ -11,17 +11,17 @@ while [ $i -lt ${#ARGS[@]} ]; do
|
|||
if [ "$incpath" ]; then
|
||||
if [ "$arg" = "/usr/include" ]; then
|
||||
echo "[cc-wrapper] ignoring -I $arg"
|
||||
unset incpath
|
||||
else
|
||||
MYARGS+=("-I${arg}")
|
||||
fi
|
||||
unset incpath
|
||||
elif [ "$libpath" ]; then
|
||||
if [ "$arg" = "/usr/lib" ]; then
|
||||
echo "[cc-wrapper] ignoring -L $arg"
|
||||
unset libpath
|
||||
else
|
||||
MYARGS+=("-L${arg}")
|
||||
fi
|
||||
unset libpath
|
||||
elif [ "$arg" = "-I" ]; then
|
||||
incpath=1
|
||||
elif [ "$arg" = "-L" ]; then
|
||||
|
|
Loading…
Reference in New Issue