]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: if ld_shlibs=no, set can_build_shared=no too,
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 4 Apr 1999 06:06:55 +0000 (06:06 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 4 Apr 1999 06:06:55 +0000 (06:06 +0000)
otherwise it will just be disregarded.  This would cause
netbsd/m68k with GNU ld a.out, and certainly many other platforms,
to incorrectly believe that shared libraries were supported, while
archive_cmds was empty, causing shared libraries not to be created

ChangeLog
ltconfig.in

index 92131a061a859d60fe1bbb4745859b4edc060c35..914e72d9e404c4de430d11801091ea596984c540 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+1999-04-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * ltconfig.in: if ld_shlibs=no, set can_build_shared=no too,
+       otherwise it will just be disregarded.  This would cause
+       netbsd/m68k with GNU ld a.out, and certainly many other platforms, 
+       to incorrectly believe that shared libraries were supported, while 
+       archive_cmds was empty, causing shared libraries not to be created
+
 1999-04-03  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * NEWS: improved support for AIX and HP/UX
index 6824d134a28736e74587fbf9e5405bc86b824e7f..eb6653e4fd03ebd933f08d2a2e830ae9a3a9b7eb 100755 (executable)
@@ -1202,7 +1202,6 @@ else
 
   freebsd1*)
     ld_shlibs=no
-    can_build_shared=no
     ;;
 
   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
@@ -1345,11 +1344,11 @@ else
 
   *)
     ld_shlibs=no
-    can_build_shared=no
     ;;
   esac
 fi
 echo "$ac_t$ld_shlibs" 1>&6
+test "$ld_shlibs" = no && can_build_shared=no
 
 # Check for command to grab the raw symbol name followed by C symbol from nm.
 echo $ac_n "checking command to parse $NM output... $ac_c" 1>&6