diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-04-24 17:56:19 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-04-24 21:20:53 +0300 |
commit | c7fa4a5be885c13689c021bce364041a47ccd890 (patch) | |
tree | 3b8875b64e36f8a0def91f53dca60f1136eac978 /libmysqlclient/README-DEV | |
parent | f8dc0837b9bd87d7b0322c21a6baf3b10d325142 (diff) |
Release version 8.0.15+16HEADv8.0.15+16master
Add support for building with MinGW GCC.
Diffstat (limited to 'libmysqlclient/README-DEV')
-rw-r--r-- | libmysqlclient/README-DEV | 42 |
1 files changed, 39 insertions, 3 deletions
diff --git a/libmysqlclient/README-DEV b/libmysqlclient/README-DEV index b69995c..e619bc5 100644 --- a/libmysqlclient/README-DEV +++ b/libmysqlclient/README-DEV @@ -6,9 +6,45 @@ Symlink the required upstream components and provide our own implementations for auto-generated headers: $ ln -s ../upstream/LICENSE -$ ln -s ../../upstream/{vio,sql,mysys,mysys_ssl,libbinlogevents,libmysql} mysql -$ ln -s ../../upstream/include mysql/mysql -$ ln -s mysql/mysql_version.h.in mysql/version.h.in +#$ ln -s ../../upstream/{vio,sql,mysys,mysys_ssl,libbinlogevents,libmysql} mysql +$ ln -s ../../upstream/{vio,sql,mysys_ssl,libbinlogevents,libmysql} mysql +#$ ln -s ../../upstream/include mysql/mysql +$ ln -s ../../upstream/include/mysql_version.h.in mysql/version.h.in + +Add support for building with MinGW GCC: + +$ mkdir -p mysql/mysql +$ pushd mysql/mysql +$ ln -s ../../../upstream/include/*.h . +$ mv m_ctype.h m_ctype.h.orig +$ cp m_ctype.h.orig m_ctype.h +$ mv my_dir.h my_dir.h.orig +$ cp my_dir.h.orig my_dir.h +$ mkdir -p mysql/components/services +$ cd mysql/components/services +$ ln -s ../../../../../../upstream/include/mysql/components/services/*.h . +$ mv my_io_bits.h my_io_bits.h.orig +$ cp my_io_bits.h.orig my_io_bits.h +$ cd .. +$ ln -s ../../../../../upstream/include/mysql/components/*.h . +$ cd .. +$ ln -s ../../../../upstream/include/mysql/psi . +$ ln -s ../../../../upstream/include/mysql/*.h . +$ popd +$ mkdir -p mysql/mysys +$ pushd mysql/mysys +$ ln -s ../../../upstream/mysys/*.{h,cc} . +$ mv my_thr_init.cc my_thr_init.cc.orig +$ cp my_thr_init.cc.orig my_thr_init.cc +$ mv stacktrace.cc stacktrace.cc.orig +$ cp stacktrace.cc.orig stacktrace.cc +$ popd + +$ git apply mingw.patch + +Note that the above patches are produced by the following commands: + +$ git diff ><patch-path> Also make sure all source files are UTF-8-encoded: |