File: sco5-shared-installed

package info (click to toggle)
edk2 0~20161202.7bbe0b3e-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 178,536 kB
  • sloc: ansic: 1,712,279; perl: 107,239; python: 93,573; asm: 75,607; cpp: 22,797; makefile: 15,605; sh: 5,170; pascal: 2,013; xml: 318; lisp: 58
file content (28 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

major="0"
minor="9.7b"

slib=libssl
sh_slib=$slib.so.$major.$minor

clib=libcrypto
sh_clib=$clib.so.$major.$minor

# If you want them in /usr/local/lib then change INSTALLTOP to point there.
#INSTALLTOP=/usr/local/ssl/lib
INSTALLTOP=/usr/local/lib

cp -p $sh_clib $INSTALLTOP
cp -p $sh_slib $INSTALLTOP

PWD=`pwd`
cd $INSTALLTOP
rm -f $INSTALLTOP/$clib.so
ln -s $INSTALLTOP/$sh_clib $clib.so

rm -f $INSTALLTOP/$slib.so
ln -s $INSTALLTOP/$sh_slib $slib.so

cd $PWD