mirror of
https://github.com/vxcontrol/lualibs-openssl.git
synced 2026-07-01 10:05:31 -04:00
osx64 binaries and build script
This commit is contained in:
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+18
@@ -0,0 +1,18 @@
|
||||
cd src || exit 1
|
||||
|
||||
make clean
|
||||
./config shared -mmacosx-version-min=10.9
|
||||
make
|
||||
|
||||
d=../../../bin/osx64
|
||||
cp -f libcrypto.1.1.dylib $d/libcrypto.dylib
|
||||
cp -f libcrypto.a $d/
|
||||
cp -f libssl.1.1.dylib $d/libssl.dylib
|
||||
cp -f libssl.a $d/
|
||||
|
||||
install_name_tool -change /usr/local/lib/libcrypto.1.1.dylib @rpath/libcrypto.dylib $d/libssl.dylib
|
||||
|
||||
install_name_tool -id @rpath/libcrypto.dylib $d/libcrypto.dylib
|
||||
install_name_tool -id @rpath/libssl.dylib $d/libssl.dylib
|
||||
|
||||
cp -f include/openssl/opensslconf.h ../include-osx64/openssl/opensslconf.h
|
||||
@@ -1,6 +1,6 @@
|
||||
n=openssl-1.1.1d
|
||||
[ -d src ] || {
|
||||
wget -q -nc http://www.openssl.org/source/$n.tar.gz
|
||||
tar xzfv $n.tar.gz; mv $n src;
|
||||
tar xzf $n.tar.gz; mv $n src;
|
||||
}
|
||||
wget -q -nc https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-1.1.1c-sess_set_get_cb_yield.patch
|
||||
|
||||
Reference in New Issue
Block a user