From beef101eb325233ddaae3fc3bab28495b86bfada Mon Sep 17 00:00:00 2001 From: "Wayne E. Robertz" Date: Thu, 10 Nov 2011 15:21:14 -0700 Subject: mklib: fix static lib building by filtering out -L, -l options Signed-off-by: Brian Paul --- bin/mklib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/mklib') 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" ;; *) -- cgit v1.2.3