Commit d1ec197e authored by Richard Levitte's avatar Richard Levitte
Browse files

Apply the following change from the main trunk:

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>
parent f4d9cdc5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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>]
+9 −0
Original line number Diff line number Diff line
@@ -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 \