summaryrefslogtreecommitdiffstats
path: root/sbin/ldconfig/ldconfig.8
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-06-24 10:08:44 +0000
committerasami <asami@FreeBSD.org>1995-06-24 10:08:44 +0000
commit62d154d2101fad2261de96cdebd839b26736113c (patch)
tree9c7b8484f6cb6819ab8c960c8bd213983acca4c8 /sbin/ldconfig/ldconfig.8
parent132e30858883b4d87a0d6a1531c2f4afb5018624 (diff)
downloadFreeBSD-src-62d154d2101fad2261de96cdebd839b26736113c.zip
FreeBSD-src-62d154d2101fad2261de96cdebd839b26736113c.tar.gz
Add an "-m" flag to merge instead of replace the entries. We can
now safely add a line like ldconfig -m ${PREFIX}/lib in ports' Makefiles and packing lists without throwing away some directories the user may have added. Submitted by: Mostly by Paul Kranenburg <pk@cs.few.eur.nl>
Diffstat (limited to 'sbin/ldconfig/ldconfig.8')
-rw-r--r--sbin/ldconfig/ldconfig.810
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/ldconfig/ldconfig.8 b/sbin/ldconfig/ldconfig.8
index 0a6cb69..9b83224 100644
--- a/sbin/ldconfig/ldconfig.8
+++ b/sbin/ldconfig/ldconfig.8
@@ -27,7 +27,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: ldconfig.8,v 1.6 1994/12/23 22:31:21 nate Exp $
.\"
.Dd October 3, 1993
.Dt LDCONFIG 8
@@ -37,7 +37,7 @@
.Nd configure the shared library cache
.Sh SYNOPSIS
.Nm ldconfig
-.Op Fl rsv
+.Op Fl mrsv
.Op Ar directory Ar ...
.Sh DESCRIPTION
.Nm
@@ -82,6 +82,12 @@ is typically run as part of the boot sequence.
The following options recognized by
.Nm ldconfig:
.Bl -tag -width indent
+.It Fl m
+Instead of replacing the contents of
+.Xr ld.so.hints
+with those found in the directories specified,
+.Dq merge
+in new entries.
.It Fl r
Lists the current contents of
.Xr ld.so.hints
OpenPOWER on IntegriCloud