mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-27 16:43:01 +00:00
29 lines
477 B
Plaintext
29 lines
477 B
Plaintext
|
#!/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
|
||
|
|