It seems that breaks mingw build of usbredirhost
With this patch, users can disable create_import_lib by running
configure <PARAMS> --enable-create-import-lib=no
Default is "yes" (for mingw), as it was before this patch.
Related commit: 6b33cd4 (Windows: Enable MinGW and MSVC DLL interchangeability)
---
configure.ac | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index b51555c..303ddf0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,6 @@ case $host in
AC_MSG_RESULT([Windows])
backend="windows"
threads="windows"
- create_import_lib="yes"
AM_CFLAGS="${AM_CFLAGS} -fno-omit-frame-pointer"
;;
*-cygwin*)
@@ -118,6 +117,11 @@ windows)
PC_LIBS_PRIVATE=""
LTLDFLAGS="${LTLDFLAGS} -avoid-version -Wl,--add-stdcall-alias"
AC_DEFINE([POLL_NFDS_TYPE],[unsigned int],[type of second poll()
argument])
+ AC_ARG_ENABLE([create_import_lib],
+ [AS_HELP_STRING([--enable-create-import-lib],
+ [make the library cosumable by VS])],
+ [create_import_lib=$enableval],
+ [create_import_lib="yes"])
;;
esac
--
1.7.7.6
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusbx-devel