Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
bitmask-vpn
Commits
5594b64a
Commit
5594b64a
authored
7 months ago
by
jkito
Committed by
jkito
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
build: update openvpn build script to work on arm64 host
parent
89e85ee2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!255
build: update openvpn build script to work on arm64 host
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
branding/thirdparty/openvpn/build_openvpn.sh
+18
-1
18 additions, 1 deletion
branding/thirdparty/openvpn/build_openvpn.sh
with
18 additions
and
1 deletion
branding/thirdparty/openvpn/build_openvpn.sh
+
18
−
1
View file @
5594b64a
...
...
@@ -129,11 +129,28 @@ function build_openssl()
echo
"[ ] got: "
${
sha256
}
exit
1
fi
local
openssl_target_platform
=
""
case
"
$(
uname
-m
)
"
in
"x86_64"
)
openssl_target_platform
=
"darwin64-x86_64-cc"
if
[
"
$(
uname
)
"
==
"Linux"
]
;
then
openssl_target_platform
=
"linux-x86_64"
fi
;;
"arm64"
)
openssl_target_platform
=
"darwin64-arm64-cc"
if
[
"
$(
uname
)
"
==
"Linux"
]
;
then
openssl_target_platform
=
"linux64-aarch64"
fi
;;
esac
tar
zxvf openssl-
$OPENSSL
.tar.gz
cd
openssl-
$OPENSSL
# Kudos to Jonathan K. Bullard from Tunnelblick.
# TODO pass cc/arch if osx
./Configure
darwin64-x86_64-cc
no-shared zlib no-asm
--openssldir
=
"
$DEST
"
./Configure
${
openssl_target_platform
}
no-shared zlib no-asm
--openssldir
=
"
$DEST
"
make build_libs build_apps openssl.pc libssl.pc libcrypto.pc
make
DESTDIR
=
$DEST
install_sw
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment