* Make dynamic MinGW build copy DLLs instead of trying to manipulate PATH
* Remove tag requirement on MinGW dynamic build
Co-authored-by: Bill Rose <neptoess@gmail.com>
GCC 11 adds a new symbol that is not available in the mingw/msys2 libstdc++,
which makes it impossible to run applications that were built.
Until that's fixed we disable this worker since it will fail anyway.
* Build static librdkafka_windows.a with travis
* Update paths to match Travis MinGW build script
* Update DLL paths
* Replace tabs with spaces
* Don't use msys2 rm, just use regular travis one
* Add Win32 DLLs to MinGW C++ pkg-config
* Relocate MinGW target_link_libraries to allow building executables
* Update CMakeLists.txt to include pkg-config for Windows DLLs for static MinGW builds
* Write to librdkafka.a instead of librdkafka_windows.a
Update CMakeLists.txt to only generate -static .pc files when building static lib
Run cmake-format on CMakeLists.txt
* Update packing script for different .a file name
* Separate MinGW static build and dynamic build
Turn WITH_SASL=ON for Windows build so OATHBEARER SASL can be used
* Restore previous whitespace style in CMakeLists.txt
* CMakeLists.txt formatting
* Undo CMakeLists.txt whitespace-only changes
Remove cmake options where we like the defaults
Add libdl and libz to static MinGW build to support WITH_PLUGINS and WITH_ZLIB
* Fix accidental tab characters in packaging/mingw-w64/travis-before-install.sh
* Default WITH_PLUGINS to ON on Windows CMake builds
Remove libdl from MinGW build
Fix typo when WITHOUT_WIN32_CONFIG is ON
* Modify CMAKE_FIND_LIBRARY_SUFFIXES instead of deleting .dll.a files
* Make use of Libs.private
* Fix a CMake check using WITH_PLUGINS when it should have been using WITH_LIBDL
* Add strip calls for MinGW static libraries
* Slight CMakeLists.txt refactor per SpaceIm comment
* Move CMAKE_FIND_LIBRARY_SUFFIXES from CMakeLists.txt to the Travis build script
Co-authored-by: neptoess <neptoess@gmail.com>
* Add build configuration for MinGW-w64. Primarily just needed to use _WIN32 instead of _MSC_VER in header guards. Various other small patches included to account for compiler differences.
* try alternative win32 datetime format method avoiding ATL (which isn't available in MinGW)
These options are taken from the Debian package rules.
Additional changes:
* make sure perl is installed on travis - required by openssl installer
* always reconfigure openssl, don't try to be smart.