diff options
author | skrll <skrll@pkgsrc.org> | 2003-09-15 21:52:51 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2003-09-15 21:52:51 +0000 |
commit | 41614a9ed1c71d1084507af8e0de4ef768ce155b (patch) | |
tree | 9cbc7a30e7912a08462318986d75117d06c23819 /mk | |
parent | 330af2e51777258322424b7d7684be7548c4c0da (diff) | |
download | pkgsrc-41614a9ed1c71d1084507af8e0de4ef768ce155b.tar.gz |
Add a --mode== for libtool 1.5
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/fake-la | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink2/fake-la b/mk/buildlink2/fake-la index b39f2b3aeec..09d975dad10 100644 --- a/mk/buildlink2/fake-la +++ b/mk/buildlink2/fake-la @@ -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 @@ if ${TEST} ! -f $tmpdir/inst/$libbase.la; then 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 |