summaryrefslogtreecommitdiff
path: root/gnu/egcs/libstdc++/config/linux.ml
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/libstdc++/config/linux.ml')
-rw-r--r--gnu/egcs/libstdc++/config/linux.ml11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/egcs/libstdc++/config/linux.ml b/gnu/egcs/libstdc++/config/linux.ml
new file mode 100644
index 00000000000..14dcb45b79d
--- /dev/null
+++ b/gnu/egcs/libstdc++/config/linux.ml
@@ -0,0 +1,11 @@
+# Elf with shared libm, so we can link it into the shared libstdc++.
+
+ARLIB = libstdc++-$(LIBSTDCXX_INTERFACE)$(LIBC_INTERFACE)$(CXX_INTERFACE)-$(VERSION).a
+MARLINK = libstdc++$(LIBC_INTERFACE)$(CXX_INTERFACE).a.$(LIBSTDCXX_INTERFACE)
+SHLIB = libstdc++-$(LIBSTDCXX_INTERFACE)$(LIBC_INTERFACE)$(CXX_INTERFACE)-$(VERSION).so
+MSHLINK = libstdc++$(LIBC_INTERFACE)$(CXX_INTERFACE).so.$(LIBSTDCXX_INTERFACE)
+
+LIBS = $(ARLIB) marlink $(ARLINK) $(SHLIB) mshlink $(SHLINK)
+SHFLAGS = -Wl,-soname,$(MSHLINK)
+SHDEPS = -lm
+DEPLIBS = ../$(SHLIB)