updated buildfiles
This commit is contained in:
parent
d1bd700bae
commit
f302504dea
@ -1 +1 @@
|
||||
Subproject commit 43c97648631c22d2ac9439944c7214175eda7605
|
||||
Subproject commit f8b8024caacbef279cd8951a14afe8fd464cc32a
|
@ -1 +1 @@
|
||||
Subproject commit e7b78770eca9724a7af2f344588693dcf8b327df
|
||||
Subproject commit ad8e29b00d2b9c35ce5794bd92da38bb6a304728
|
@ -1 +1 @@
|
||||
Subproject commit 948ce04ed74397331c158c13209fd2370c2dbd5a
|
||||
Subproject commit 7b98edabb61c6f06199fc22ffc9ebff580dfefc3
|
@ -1,4 +1,17 @@
|
||||
cd boringssl/build/
|
||||
cd boringssl/
|
||||
if [ ! -d lib ]; then
|
||||
mkdir lib && cd lib
|
||||
ln -s ../build/ssl/libssl.so .
|
||||
ln -s ../build/crypto/libcrypto.so .
|
||||
cd ..
|
||||
fi
|
||||
cat /include/openssl/opensslv.h | grep "OPENSSL_VERSION_NUMBER" &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "#if false
|
||||
# define OPENSSL_VERSION_NUMBER 0x1010008fL
|
||||
#endif" > include/openssl/opensslv.h
|
||||
fi
|
||||
cd build
|
||||
sudo apt-get install golang-go
|
||||
cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE="Release"
|
||||
make -j 12
|
||||
|
@ -1,4 +1,4 @@
|
||||
cd mysqlconnector/build
|
||||
cmake .. -DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++ -I../../boringssl/include/"-DWITH_JDBC=ON
|
||||
cmake .. -DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++ -I../../boringssl/include/" -DWITH_JDBC=ON -DWITH_SSL="`pwd`/../../boringssl/" -DOPENSSL_ROOT_DIR="`pwd`/../../boringssl/"
|
||||
make -j 12
|
||||
sudo make install
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit c3a6fe75e1511a4c7a7a6ef0a5954b1918902933
|
||||
Subproject commit ee12c516cf5766b2c32203dcc20c32b8691a8ebb
|
@ -1 +1 @@
|
||||
Subproject commit 3d62db3ecd5377025a458bca827ab4ca12d5c1f0
|
||||
Subproject commit 9bbc4b1fab8262958c172f2d8e87b486c950a051
|
@ -1 +1 @@
|
||||
Subproject commit 0f7fd3c606c204cf13b39ca35722782d3d05e319
|
||||
Subproject commit 2c202ee7c530b84c6387e0dd71be04ac254a1d17
|
Loading…
Reference in New Issue
Block a user