~mmach/netext73/isl

« back to all changes in this revision

Viewing changes to shlib/sco5-shared-installed

  • Committer: mmach
  • Date: 2019-05-14 07:37:06 UTC
  • Revision ID: netbit73@gmail.com-20190514073706-nt6iq2m3597se19c
0.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
major="0"
 
4
minor="9.7b"
 
5
 
 
6
slib=libssl
 
7
sh_slib=$slib.so.$major.$minor
 
8
 
 
9
clib=libcrypto
 
10
sh_clib=$clib.so.$major.$minor
 
11
 
 
12
# If you want them in /usr/local/lib then change INSTALLTOP to point there.
 
13
#INSTALLTOP=/usr/local/ssl/lib
 
14
INSTALLTOP=/usr/local/lib
 
15
 
 
16
cp -p $sh_clib $INSTALLTOP
 
17
cp -p $sh_slib $INSTALLTOP
 
18
 
 
19
PWD=`pwd`
 
20
cd $INSTALLTOP
 
21
rm -f $INSTALLTOP/$clib.so
 
22
ln -s $INSTALLTOP/$sh_clib $clib.so
 
23
 
 
24
rm -f $INSTALLTOP/$slib.so
 
25
ln -s $INSTALLTOP/$sh_slib $slib.so
 
26
 
 
27
cd $PWD
 
28