From: Ralf Wildenhues Date: Mon, 7 Jan 2008 21:26:55 +0000 (+0000) Subject: * tests/runpath-in-lalib.at (Runpath in libtool library files): X-Git-Tag: release-2-1b~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ffd4adbf177c9c64d92cf46845562aa293e7d48;p=thirdparty%2Flibtool.git * tests/runpath-in-lalib.at (Runpath in libtool library files): Compile program file without libtool. Report by Rainer Tammer. --- diff --git a/ChangeLog b/ChangeLog index 02b3f76d5..758b43cbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-07 Ralf Wildenhues + + * tests/runpath-in-lalib.at (Runpath in libtool library files): + Compile program file without libtool. + Report by Rainer Tammer. + 2008-01-07 Rainer Tammer (tiny change) Ralf Wildenhues diff --git a/tests/runpath-in-lalib.at b/tests/runpath-in-lalib.at index 215d8f9e8..3f22b01ff 100644 --- a/tests/runpath-in-lalib.at +++ b/tests/runpath-in-lalib.at @@ -1,6 +1,6 @@ # runpath-in-lalib.at -- -*- Autotest -*- -# Copyright (C) 2007 Free Software Foundation, Inc. +# Copyright (C) 2007, 2008 Free Software Foundation, Inc. # Written by Ralf Wildenhues, 2007 # # This file is part of GNU Libtool. @@ -44,9 +44,10 @@ addrunpath=`pwd`/foobar mkdir $instdir $libdir $bindir -for file in a.c b.c m.c; do +for file in a.c b.c; do $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file done +$CC $CPPFLAGS $CFLAGS -c m.c AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la a.lo -rpath $libdir -R$addrunpath], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o libb.la b.lo -rpath $libdir liba.la],