From: Wayne E. Robertz Date: Thu, 10 Nov 2011 22:21:14 +0000 (-0700) Subject: mklib: fix static lib building by filtering out -L, -l options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=beef101eb325233ddaae3fc3bab28495b86bfada;p=mesa.git mklib: fix static lib building by filtering out -L, -l options Signed-off-by: Brian Paul --- diff --git a/bin/mklib b/bin/mklib index fd87aad420f..70bd1a27a26 100755 --- a/bin/mklib +++ b/bin/mklib @@ -260,7 +260,7 @@ if [ $STATIC = 1 ]; then NEWOBJECTS="" for OBJ in $OBJECTS ; do case $OBJ in - -Wl,*) + -Wl,*|-L*|-l*) echo "mklib: warning: ignoring $OBJ for static library" ;; *)