diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2018-12-11 05:45:15 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2018-12-11 05:45:15 +0000 |
commit | 3e11e8bf1454cbcfe7cba2f7935d6ddf0f21cc78 (patch) | |
tree | d4a8bb79bfb7b7425e6dfb83be77506bdb3feb35 /usr.bin/libtool/LT | |
parent | 19970a552782c0a8eb22432785d34620c7b53c01 (diff) |
teach libtool to build shared libraries with a soname
ok naddy@
Diffstat (limited to 'usr.bin/libtool/LT')
-rw-r--r-- | usr.bin/libtool/LT/Mode/Link/Library.pm | 3 |
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); } |