diff options
author | Wayne E. Robertz <[email protected]> | 2011-11-10 15:21:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-11-10 16:00:46 -0700 |
commit | beef101eb325233ddaae3fc3bab28495b86bfada (patch) | |
tree | cba88f600d0b056c1a203a442bb0075b46464a25 | |
parent | b999be83744c9419fa3134201006451db119b81d (diff) |
mklib: fix static lib building by filtering out -L, -l options
Signed-off-by: Brian Paul <[email protected]>
-rwxr-xr-x | bin/mklib | 2 |
1 files changed, 1 insertions, 1 deletions
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" ;; *) |