Skip to content

Commit d532211

Browse files
windows build ignore HAVE_GMTIME_R macro
1 parent d8dd5fd commit d532211

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
11
# mysql-patch
22
patch for mysql with updated wolfSSL
33

4-
MYSQL 5.6.30 can be found at https://dev.mysql.com/downloads/mysql/. Click on "Looking for previous GA versions?" and select platform "source code". This patch was done on the Generic Linux (Architecture Independent), Compressed TAR Archive bundle.
4+
MYSQL 5.6.30 can be found at downloads.mysql.com/archives/community/.
5+
Select version "5.6.30" and select platform "source code". This patch was done on the Generic Linux (Architecture Independent), Compressed TAR Archive bundle. mysql-5.6.30.tar.gz
56

6-
To run patch copy wolfssl-mysql-5.6.30.patch into the same directory with current MYSQL source code. (On mac this is something like /usr/local/src/)
7+
To run the patch, copy wolfssl-mysql-5.6.30.patch into the same directory with current MYSQL source code.
78
From the terminal in the same direcotry containing current MYSQL source code run
89
```
910
patch -p1 < [directory of]/wolfssl-mysql-5.6.30.patch
1011
```
1112
To build using updated SSL make MYSQL with the command
1213
```
13-
cmake . -DWITH_SSL=bundled (from inside the MYSQL source code directory)
14+
cmake . -DBUILD_CONFIG=mysql_release -DWITH_SSL=bundled (from inside the MYSQL source code directory)
15+
```
16+
Then run the standard make && sudo make install
17+
18+
Note: When building on Linux CFLAGS="-g1" may be needed to work around a Binutils bug. To build then it would be the command
19+
```
20+
CFLAGS="-g1" cmake . -DBUILD_CONFIG=mysql_release -DWITH_SSL=bundled
1421
```
15-
Then run the standard make -- make install
1622

1723
###SHA256 sum
1824
$ shasum -a 256 wolfssl-mysql-5.6.30.patch.zip
19-
7df65d141a645c46f7db9de74d5e111657819c6d411562f0afbdf3a293c678a9
25+
0fb2a0e53e8741b05ace851e6eab814fa90016e96fc2f4f9dc00e70c992079b4
2026

2127
####Product Licensing for wolfSSL
2228

wolfssl-mysql-5.6.30.patch.zip

158 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)