1 --- cryptlib-3.3.1/tools/buildsharedlib.sh.orig 2006-11-14 04:48:16.000000000 +0100
2 +++ cryptlib-3.3.1/tools/buildsharedlib.sh 2008-01-08 19:51:52.529507506 +0100
12 @@ -97,6 +99,9 @@ case $OSNAME in
17 + $LD -shared -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` -Wl,-soname=${SONAME:-${LIBNAME}}
20 $LD -shared -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
22 --- cryptlib-3.3.1/makefile.orig 2008-01-08 19:54:03.372389284 +0100
23 +++ cryptlib-3.3.1/makefile 2008-01-08 19:53:33.007613619 +0100
26 LIBNAME = lib$(PROJ).a
27 SLIBNAME = lib$(PROJ).so.$(MAJ).$(MIN).$(PLV)
28 +SONAME = lib$(PROJ).so.$(MAJ)
29 DYLIBNAME = lib$(PROJ).$(MAJ).$(MIN).dylib
31 # Compiler options. By default this builds the release version of the code,
35 $(SLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
36 - @./tools/buildsharedlib.sh $(OSNAME) $(SLIBNAME) $(LD) $(OBJS) \
37 + @./tools/buildsharedlib.sh $(OSNAME) $(SLIBNAME) $(LD) $(SONAME) $(OBJS) \
40 $(DYLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)