]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (ld_shlibs) [aix4*]: Disable on unknown CPU types.
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 27 Jan 2001 19:18:55 +0000 (19:18 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 27 Jan 2001 19:18:55 +0000 (19:18 +0000)
ChangeLog
ltconfig.in

index d21695949537242fccc749fb30012ae4e5c7f6ff..c4eecb2357335fabe7da4d47352f6a0122f8f2d0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ltconfig.in (ld_shlibs) [aix4*]: Disable on unknown CPU types.
+
 2000-10-30  Aneesh Kumar K.V <kvaneesh@hotmail.com>
 
        * ltconfig.in (archive_expsym_cmds):  Support for -export-symbol
index 59df0b4f70571e50dfe57c8ac78b0528124bf0d8..cfa10dbe0f38d8125b590c6be5282091e2cce155 100755 (executable)
@@ -1,7 +1,8 @@
 #! /bin/sh
 
 # ltconfig - Create a system-specific libtool.
-# Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 #
 # This file is free software; you can redistribute it and/or modify it
@@ -1315,6 +1316,12 @@ else
       # According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on
       always_export_symbols=yes ;;
     esac
+
+    # We don't want to build shared libraries on unknown CPU types.
+    case $host_cpu in
+    powerpc | rs6000) ;;
+    *) ld_shlibs=no ;;
+    esac
    ;;
 
   amigaos*)