summaryrefslogtreecommitdiff
path: root/usr.bin/libtool/LT
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-07-12 11:52:51 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-07-12 11:52:51 +0000
commitaa7af40f0b7af2b49c75975fbe5a6a9131682321 (patch)
tree2ad20ae4dfcf8477015c2754f3b76f55e90a5291 /usr.bin/libtool/LT
parent0f12fed65402717e3de79cde1fe04733e8908ca2 (diff)
match gnu-libtool: error out if -L dir is used instead of -Ldir
Diffstat (limited to 'usr.bin/libtool/LT')
-rw-r--r--usr.bin/libtool/LT/Mode/Link.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/libtool/LT/Mode/Link.pm b/usr.bin/libtool/LT/Mode/Link.pm
index db5b24806f8..c26e05c9fea 100644
--- a/usr.bin/libtool/LT/Mode/Link.pm
+++ b/usr.bin/libtool/LT/Mode/Link.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Link.pm,v 1.12 2012/07/11 14:17:08 espie Exp $
+# $OpenBSD: Link.pm,v 1.13 2012/07/12 11:52:50 espie Exp $
#
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -147,6 +147,7 @@ sub run
'prefer-non-pic',
'release:',
'rpath:@',
+ 'L', sub { shortdie "libtool does not allow spaces in -L dir\n"},
'R:@',
'shrext:',
'static',