summaryrefslogtreecommitdiff
path: root/gnu/egcs/libstdc++/config/elf.ml
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/libstdc++/config/elf.ml')
-rw-r--r--gnu/egcs/libstdc++/config/elf.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/egcs/libstdc++/config/elf.ml b/gnu/egcs/libstdc++/config/elf.ml
new file mode 100644
index 00000000000..bd711debf83
--- /dev/null
+++ b/gnu/egcs/libstdc++/config/elf.ml
@@ -0,0 +1,8 @@
+# Elf without shared libm -- we have to link with the archive library, even
+# for programs that don't use complex.
+
+LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK)
+SHFLAGS = -h $(SHLIB)
+DEPLIBS = ../$(SHLIB)
+LDLIBS = -L.. -lstdc++ -lm
+MLDLIBS = -L.. -lstdc++ -lm