summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsemarie <semarie@openbsd.org>2018-12-11 05:45:14 +0000
committersemarie <semarie@openbsd.org>2018-12-11 05:45:14 +0000
commitacfcc2eed8b863cd75a95a11f044c52bc42576d4 (patch)
treef6845f2ce358bb3255542a33c0b0c04b5fc34b11
parentprovide ifq_is_priq, mostly so things can tell if hfsc is in effect or not. (diff)
downloadwireguard-openbsd-acfcc2eed8b863cd75a95a11f044c52bc42576d4.tar.xz
wireguard-openbsd-acfcc2eed8b863cd75a95a11f044c52bc42576d4.zip
teach libtool to build shared libraries with a soname
ok naddy@
-rw-r--r--usr.bin/libtool/LT/Mode/Link/Library.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/libtool/LT/Mode/Link/Library.pm b/usr.bin/libtool/LT/Mode/Link/Library.pm
index 0f71d5aef85..cbbde047ce0 100644
--- a/usr.bin/libtool/LT/Mode/Link/Library.pm
+++ b/usr.bin/libtool/LT/Mode/Link/Library.pm
@@ -1,4 +1,4 @@
-# $OpenBSD: Library.pm,v 1.6 2018/04/07 17:54:54 espie Exp $
+# $OpenBSD: Library.pm,v 1.7 2018/12/11 05:45:14 semarie Exp $
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -161,6 +161,7 @@ sub link
my @linkeropts = ();
if (!$ltconfig->noshared) {
+ push(@linkeropts, '-soname', $fname);
for my $d (@$RPdirs) {
push(@linkeropts, '-rpath', $d);
}