summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2012-08-27 11:00:27 +0000
committerespie <espie@openbsd.org>2012-08-27 11:00:27 +0000
commitdda0d17708e31e319283f60655b61439fdb5afb3 (patch)
treed9f6d226beba47cce297fea0a190d82ef25f20b0
parentJunk global cur_time, and use time(NULL) or local variables where (diff)
downloadwireguard-openbsd-dda0d17708e31e319283f60655b61439fdb5afb3.tar.xz
wireguard-openbsd-dda0d17708e31e319283f60655b61439fdb5afb3.zip
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',