summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-08-27 11:00:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-08-27 11:00:28 +0000
commit4f626d2911c82eeab72e48f11002951131b1bcca (patch)
tree57a8aec49eeabb0752233f7cbed2c334b90add27
parentc6dcd37e27207731126e652a1cb1f8777734b6da (diff)
vax does not get -rpath-link, but it also does not really need it.
as found out by sebastia@ and used during 5.2 vax package build... no ill side-effects so far, so do this as a stopgap measure (matthieu@ reports that our libtool is not yet very good for static-only arches).
-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 3c03848b121..6e5ad1f225a 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.21 2012/08/04 14:26:02 espie Exp $
+# $OpenBSD: Link.pm,v 1.22 2012/08/27 11:00:27 espie Exp $
#
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -135,6 +135,7 @@ sub run
'dlpreopen:',
'export-dynamic',
'export-symbols:',
+ '-export-symbols:', sub { shortdie "the option is -export-symbols.\n--export-symbols wil be ignored by gnu libtool"; },
'export-symbols-regex:',
'module',
'no-fast-install',