libtool-patches
[Top][All Lists]
Advanced

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

FYI: fix runpath-in-lalib.at for AIX


From: Ralf Wildenhues
Subject: FYI: fix runpath-in-lalib.at for AIX
Date: Mon, 7 Jan 2008 22:26:57 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On AIX, by default no non-PIC object would be created, but we use
m.$OBJEXT later on.  Fixed thusly.

Cheers,
Ralf

2008-01-07  Ralf Wildenhues  <address@hidden>

        * tests/runpath-in-lalib.at (Runpath in libtool library files):
        Compile program file without libtool.
        Report by Rainer Tammer.

Index: tests/runpath-in-lalib.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/runpath-in-lalib.at,v
retrieving revision 1.1
diff -u -r1.1 runpath-in-lalib.at
--- tests/runpath-in-lalib.at   8 Nov 2007 21:38:27 -0000       1.1
+++ tests/runpath-in-lalib.at   7 Jan 2008 21:24:41 -0000
@@ -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 @@
 
 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],




reply via email to

[Prev in Thread] Current Thread [Next in Thread]