openbsd-ports/lang/egcs-snapshot/patches/patch-core-libversion
espie 26668457e3 - 19990307 snapshot
- consistent version number for libstdc++.
1999-03-07 14:15:33 +00:00

12 lines
400 B
Plaintext

--- libstdc++/config/openbsd.ml.orig Sun Feb 28 23:12:57 1999
+++ libstdc++/config/openbsd.ml Mon Mar 1 00:47:07 1999
@@ -1,5 +1,6 @@
-# Base shared lib for OpenBSD i386
-
+# Base shared lib for OpenBSD
+MAJOR_OFFSET=27
+MSHLINK = libstdc++.so.`expr $(INTERFACE) + $(MAJOR_OFFSET)`.0
LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink
SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive
SHDEPS = -lm