]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix compilation of program sources on AIX.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 7 Aug 2010 17:16:23 +0000 (19:16 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 7 Aug 2010 17:20:57 +0000 (19:20 +0200)
* tests/lt_dlopenext.at (lt_dlopenext error messages): Do not
use $LIBTOOL when compiling plain object, AIX by default does
not enable static archives.
* tests/ltdl-libdir.at (libdir of installed modules): Likewise.
Report by Rainer Tammer.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/lt_dlopenext.at
tests/ltdl-libdir.at

index 0eecbab22cfea0fa25596a3c68b72ac7934f7ac7..eb077af01cefe36c928a7546ab18275c016a5d48 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Fix compilation of program sources on AIX.
+       * tests/lt_dlopenext.at (lt_dlopenext error messages): Do not
+       use $LIBTOOL when compiling plain object, AIX by default does
+       not enable static archives.
+       * tests/ltdl-libdir.at (libdir of installed modules): Likewise.
+       Report by Rainer Tammer.
+
        Do not call toplevel configure in non-VPATH build.
        * tests/deplibs-mingw.at (deplibs without file command): Use
        LT_AT_CONFIGURE for consistency, update comment about why it
index 26a2b241ae472b3186bcc63c265eb39388c8c71e..66311247cb7e7e4706fbdebe68bb381c57412b43 100644 (file)
@@ -1,6 +1,6 @@
 # lt_dlopenext.at -- test libltdl functionality             -*- Autotest -*-
 #
-#   Copyright (C) 2009 Free Software Foundation, Inc.
+#   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 #   This file is part of GNU Libtool.
 #
 # GNU Libtool is free software; you can redistribute it and/or
@@ -197,7 +197,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c simple-module.c],
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o simple-module.la ]dnl
         [simple-module.lo -rpath $libdir -module -avoid-version],
         [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c ltdl-loader.c],
+AT_CHECK([$CC $CPPFLAGS $CFLAGS -c ltdl-loader.c],
         [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o ltdl-loader$EXEEXT ]dnl
         [ltdl-loader.$OBJEXT -dlopen self $LIBLTDL],
index f5dc33ce45ee02a426557192cb9185a953585e9a..7065c5bcdb38a0a1105acd66d4029cb383e8439d 100644 (file)
@@ -101,7 +101,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c],
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a.la ]dnl
         [a.lo -rpath $libdir -module -shared -avoid-version],
         [], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c m.c],
+AT_CHECK([$CC $CPPFLAGS $CFLAGS -c m.c],
         [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT ]dnl
         [m.$OBJEXT $LIBLTDL],