From 0b8b672215f213199453f9b6a856e06d35feb9da Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 15 May 1999 02:06:37 +0000 Subject: [PATCH] configure.in: Add shared library support for the Hurd (*-*-gnu*). * configure.in: Add shared library support for the Hurd (*-*-gnu*). * config/gnu.ml: New file. From-SVN: r26942 --- libstdc++/ChangeLog | 6 ++++++ libstdc++/config/gnu.ml | 6 ++++++ libstdc++/configure.in | 1 + 3 files changed, 13 insertions(+) create mode 100644 libstdc++/config/gnu.ml diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog index 731a4404a2e..f6fa7dd3838 100644 --- a/libstdc++/ChangeLog +++ b/libstdc++/ChangeLog @@ -1,3 +1,9 @@ +1999-05-15 Mark Kettenis + + * configure.in: Add shared library support for the Hurd + (*-*-gnu*). + * config/gnu.ml: New file. + 1999-05-12 Jason Merrill * configure.in (compiler_name): Don't do the skip-this-dir thing diff --git a/libstdc++/config/gnu.ml b/libstdc++/config/gnu.ml new file mode 100644 index 00000000000..2a0380327f7 --- /dev/null +++ b/libstdc++/config/gnu.ml @@ -0,0 +1,6 @@ +# Elf with shared libm, so we can link it into the shared libstdc++. + +LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK) +SHFLAGS = -Wl,-soname,$(SHLIB) +SHDEPS = -lm +DEPLIBS = ../$(SHLIB) diff --git a/libstdc++/configure.in b/libstdc++/configure.in index c0c701398f1..8262565bd88 100644 --- a/libstdc++/configure.in +++ b/libstdc++/configure.in @@ -92,6 +92,7 @@ if [ "${shared}" = "yes" ]; then *-*-sunos4*) frags="${frags} sunos4.ml" ;; *-*-aix*) frags="${frags} aix.ml" ;; i[3456]86-*-interix*) frags="${frags} x86-interix.ml" ;; + *-*-gnu*) frags="${frags} gnu.ml" ;; esac fi