From 8ffd4adbf177c9c64d92cf46845562aa293e7d48 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 7 Jan 2008 21:26:55 +0000 Subject: [PATCH] * tests/runpath-in-lalib.at (Runpath in libtool library files): Compile program file without libtool. Report by Rainer Tammer. --- ChangeLog | 6 ++++++ tests/runpath-in-lalib.at | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 02b3f76d..758b43cb 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 215d8f9e..3f22b01f 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],