Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP]libtool: build a shared library on Cygwin
Relates to esnet#514 Changed: - enable libtool's Win32 DLL feature - set libtool flags to force building a shared library Build steps: ``` $ touch NEWS README AUTHORS ChangeLog $ automake --add-missing --copy --foreign $ autoreconf $ ./configure $ make -j8 ``` Verification: - build artifacts cre located under `src/.libs` - there should be: - `cygiperf-0.dll` shared library - `iperf3.exe` executable binary linked to it - `$ ldd src/.libs/iperf3.exe` See: - http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html - https://www.sourceware.org/autobook/autobook/autobook_135.html - https://www.sourceware.org/autobook/autobook/autobook_136.html - https://www.sourceware.org/autobook/autobook/autobook_137.html - http://stackoverflow.com/questions/26151995/autotools-make-doesnt-create-dll-under-cygwin - https://autotools.io/libtool/windows.html - https://cygwin.com/cygwin-ug-net/dll.html - https://cygwin.com/problems.html - http://stackoverflow.com/questions/25105573/compile-for-windows-using-mingw-w64-and-autotools Signed-off-by: VirtualTam <virtualtam@flibidi.net>
- Loading branch information