mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
update
This commit is contained in:
parent
9e773c3571
commit
021b4ecf01
8
l2tp.sh
8
l2tp.sh
@ -331,11 +331,11 @@ compile_install(){
|
|||||||
make && make install
|
make && make install
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
if is_64bit;then
|
if is_64bit;then
|
||||||
ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
|
ln -sf /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
|
||||||
ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5
|
ln -sf /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5
|
||||||
else
|
else
|
||||||
ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5
|
ln -sf /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5
|
||||||
ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5
|
ln -sf /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "libevent2 install failed..."
|
echo "libevent2 install failed..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user