summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorWayne E. Robertz <wayne.robertz@gmail.com>2011-11-10 15:21:14 -0700
committerBrian Paul <brianp@vmware.com>2011-11-10 16:00:46 -0700
commitbeef101eb325233ddaae3fc3bab28495b86bfada (patch)
treecba88f600d0b056c1a203a442bb0075b46464a25 /bin
parentb999be83744c9419fa3134201006451db119b81d (diff)
mklib: fix static lib building by filtering out -L, -l options
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mklib2
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"
;;
*)