mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
Merge pull request #32 from VincentSit/patch-2
Fix a compilation error in l2tp.sh
This commit is contained in:
commit
f7a0c4abc2
9
l2tp.sh
9
l2tp.sh
@ -9,7 +9,7 @@ export PATH
|
||||
#=======================================================================#
|
||||
cur_dir=`pwd`
|
||||
|
||||
libreswan_filename="libreswan-3.20"
|
||||
libreswan_filename="libreswan-3.27"
|
||||
download_root_url="http://dl.teddysun.com/files"
|
||||
|
||||
rootness(){
|
||||
@ -421,7 +421,12 @@ compile_install(){
|
||||
tar -zxf ${libreswan_filename}.tar.gz
|
||||
|
||||
cd ${cur_dir}/l2tp/${libreswan_filename}
|
||||
echo "WERROR_CFLAGS =" > Makefile.inc.local
|
||||
cat > Makefile.inc.local <<'EOF'
|
||||
WERROR_CFLAGS =
|
||||
USE_DNSSEC = false
|
||||
USE_DH31 = false
|
||||
USE_GLIBC_KERN_FLIP_HEADERS = true
|
||||
EOF
|
||||
make programs && make install
|
||||
|
||||
/usr/local/sbin/ipsec --version >/dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user