add minor number to sharedlib, ok espie@

This commit is contained in:
wilfried 2002-03-27 13:29:15 +00:00
parent eae117299d
commit eabe27475e
4 changed files with 21 additions and 14 deletions

View File

@ -1,6 +1,6 @@
--- configure.orig Thu Feb 28 13:05:46 2002
+++ configure Thu Feb 28 13:06:42 2002
@@ -2865,16 +2865,16 @@
--- configure.orig Wed May 30 20:31:31 2001
+++ configure Wed Mar 27 14:11:51 2002
@@ -2865,16 +2865,16 @@ case $system in
DL_LIBS="-ldl"
SHLD_FLAGS="-Wl,-Bexport"
;;
@ -9,9 +9,10 @@
# Not available on all versions: check for include file.
if test -e /usr/include/dlfcn.h; then
SHLIB_CFLAGS="-fpic"
SHLIB_LD="ld -Bshareable"
- SHLIB_LD="ld -Bshareable"
- SHLIB_SUFFIX=".so"
+ SHLIB_SUFFIX=".so.1"
+ SHLIB_LD="cc -shared"
+ SHLIB_SUFFIX=".so.1.0"
DL_LIBS=""
SHLD_FLAGS=""
else

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2000/07/14 05:15:33 kevlo Exp $
lib/libotcl.so.1
@comment $OpenBSD: PFRAG.shared,v 1.2 2002/03/27 13:29:42 wilfried Exp $
lib/libotcl.so.1.0
DYNLIBDIR(%B)

View File

@ -1,7 +1,13 @@
--- Makefile.in.orig Fri Jun 8 21:34:11 2001
+++ Makefile.in Fri Jun 8 21:34:21 2001
@@ -33,7 +33,7 @@
SONAME = lib$(LIB).so.$(MAJOR)
--- Makefile.in.orig Sun Sep 24 20:32:11 2000
+++ Makefile.in Wed Mar 27 13:30:29 2002
@@ -29,11 +29,12 @@ LIBS+= @LIBS@
AFLAGS = -Wall -I. -I$(srcdir) $(CPPFLAGS) $(DEBUG) $(OPT) $(LIBOPTS) $(CFLAGS)
MAJOR=1
+MINOR=0
ARNAME = lib$(LIB).a
-SONAME = lib$(LIB).so.$(MAJOR)
+SONAME = lib$(LIB).so.$(MAJOR).$(MINOR)
PANAME = lib$(LIB)_p.a
-prefix = @prefix@

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2001/06/08 13:36:41 shell Exp $
lib/libcgiparse.so.1
DYNLIBDIR(%D/lib)
@comment $OpenBSD: PFRAG.shared,v 1.4 2002/03/27 13:29:15 wilfried Exp $
lib/libcgiparse.so.1.0
DYNLIBDIR(%B)