From f360a4859b2023bb9c7eb0c335fa0076dc79707f Mon Sep 17 00:00:00 2001 From: Vadim Zhukov Date: Sun, 23 Jul 2017 09:48:54 +0000 Subject: Recognize '-weak' in our libtool, helps at least xine-lib to build. okay aja@ --- usr.bin/libtool/LT/Mode/Link.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/libtool/LT/Mode/Link.pm b/usr.bin/libtool/LT/Mode/Link.pm index 7413707b7fa..3b5b9b693c2 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.35 2017/04/25 21:13:15 sthen Exp $ +# $OpenBSD: Link.pm,v 1.36 2017/07/23 09:48:53 zhuk Exp $ # # Copyright (c) 2007-2010 Steven Mestdagh # Copyright (c) 2012 Marc Espie @@ -153,7 +153,9 @@ sub run 'static-libtool-libs', 'thread-safe', # XXX and --thread-safe ? 'version-info:', - 'version-number:'); + 'version-number:', + 'weak', + ); # XXX options ignored: bindir, dlopen, dlpreopen, no-fast-install, # no-install, no-undefined, precious-files-regex, -- cgit v1.2.3