pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 Add a --mode== for libtool 1.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d5511f90c56
branches:  trunk
changeset: 461405:7d5511f90c56
user:      skrll <skrll%pkgsrc.org@localhost>
date:      Mon Sep 15 21:52:51 2003 +0000

description:
Add a --mode== for libtool 1.5

diffstat:

 mk/buildlink2/fake-la |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 8840a28e3505 -r 7d5511f90c56 mk/buildlink2/fake-la
--- a/mk/buildlink2/fake-la     Mon Sep 15 16:27:53 2003 +0000
+++ b/mk/buildlink2/fake-la     Mon Sep 15 21:52:51 2003 +0000
@@ -1,6 +1,6 @@
 #!@BUILDLINK_SHELL@
 #
-# $NetBSD: fake-la,v 1.5 2003/06/19 17:20:42 jschauma Exp $
+# $NetBSD: fake-la,v 1.6 2003/09/15 21:52:51 skrll Exp $
 
 AWK="@AWK@"
 BASENAME="@BASENAME@"
@@ -54,7 +54,7 @@
        cd $tmpdir
        ${ECHO} "static int i;" > nonempty.c    # create a nonempty input file
        ${LIBTOOL} --mode=compile ${CC} -c nonempty.c
-       ${LIBTOOL} ${CC} -o $libbase.la nonempty.lo -rpath $tmpdir/inst -version-info $version
+       ${LIBTOOL} --mode=link ${CC} -o $libbase.la nonempty.lo -rpath $tmpdir/inst -version-info $version
        ${LIBTOOL} --mode=install ${CP} $libbase.la $tmpdir/inst >/dev/null
 
        # Reset the ld.so cache as "libtool --mode=install" may have executed



Home | Main Index | Thread Index | Old Index