Apply the following change from the main trunk:
authorRichard Levitte <levitte@openssl.org>
Wed, 14 Nov 2001 07:52:33 +0000 (07:52 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 14 Nov 2001 07:52:33 +0000 (07:52 +0000)
2000-11-01 01:05  levitte

* Configure (1.236), Makefile.org (1.110), CHANGES (1.640): Add
support for shared libraries under Irix.  Submitted by Albert
Chin-A-Young <china@thewrittenword.com>

CHANGES
Makefile.org

diff --git a/CHANGES b/CHANGES
index 57d03d9b45ff49d1995d94cf5878b413954203b6..fe499f071570f236c0e213c53a5c9eeae40862a1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,9 @@
 
  Changes between 0.9.6b and 0.9.6c  [XX xxx XXXX]
 
+  *) Add support for shared libraries under Irix.
+     [Albert Chin-A-Young <china@thewrittenword.com>]
+
   *) Add configuration option to build on Linux on both big-endian and
      little-endian MIPS.
      [Ralf Baechle <ralf@uni-koblenz.de>]
index 623871c23159d9b2fc6fb808246ee0549fb72bd7..425e0ea651251dc079db4002a382bb1900af3618 100644 (file)
@@ -320,6 +320,15 @@ do_svr5-shared:
        libs="$$libs -l$$i"; \
        done
 
+# This assumes that GNU utilities are *not* used
+do_irix-shared:
+       libs='${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
+       ( set -x; ${CC} -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+               -Wl,-soname,lib$$i.so.${SHLIB_MAJOR} \
+               -all lib$$i.a $$libs ${EX_LIBS} -lc) || exit 1; \
+       libs="$$libs -L. -l$$i"; \
+       done
+
 # This assumes that GNU utilities are *not* used
 do_hpux-shared:
        libs='${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \