[PATCH 1/5] libssh2: get libtool to build a Windows shared library

Richard W.M. Jones rjones at redhat.com
Mon Nov 10 15:24:53 UTC 2008


Need to add 'AC_LIBTOOL_WIN32_DLL' _before_ 'AC_PROG_LIBTOOL' to
persuade libtool that it is safe to build a Windows DLL.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------
diff -urN libssh2-0.18.orig/configure.in libssh2-0.18.mingw/configure.in
--- libssh2-0.18.orig/configure.in	2007-07-31 10:55:29.000000000 +0100
+++ libssh2-0.18.mingw/configure.in	2008-11-10 14:12:07.000000000 +0000
@@ -52,6 +52,7 @@
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
+AC_LIBTOOL_WIN32_DLL
 AC_PROG_LIBTOOL
 AC_C_BIGENDIAN
 if test -z "$PKG_CONFIG"; then


More information about the mingw mailing list