Related commit: 6b33cd4 (Windows: Enable MinGW and MSVC DLL interchangeability)

I had problems building usbredirhost with mingw.
The linker complained about unrecognized symbols.

The following two patches solved for me:
1. configuring libusbx to not create_import_lib
2. modifiying libusb-1.0.def file

Note that I did not check if those patches (specifically Patch 2)
changes the ability of the library to be used by Windows tools.

Also do you prefer in Patch 1 the help to be (from commit message):
  "Enable MinGW and MSVC DLL interchangeability"

Thanks,
    Uri.

Uri Lublin (2):
  configure.ac: mingw: make create_import_lib configurable
  libusb-1.0.def: remove "LIBRARY" line

 configure.ac          |    6 +++++-
 libusb/libusb-1.0.def |    1 -
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
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
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to