diff options
author | Pete Batard <pbatard@gmail.com> | 2010-08-02 23:13:17 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-08-02 23:13:17 +0100 |
commit | 7f4f7bd7538bec65a162e6f19bf4c5e1139e1a5a (patch) | |
tree | 430da7451a187f9962aad9069da920bbe982751a /ddk_build.cmd | |
parent | c9b0a3b82e3c7771e1f34c134578f9d9bfd71b2e (diff) | |
download | libusb-7f4f7bd7538bec65a162e6f19bf4c5e1139e1a5a.tar.gz |
reverted to using a (generated) .def file for DLL exportspbr291
added libusb-1.0.def (plus reference in MS projects)
removed LIBUSB_EXP/__declspec(dllexport) from libusb.h
removed LIBUSB_DLL_BUILD macros
added -Wl,--add-stdcall-alias linker option for MinGW/cygwin for DLL generation
added sed script in autogen to update the libusb-1.0.def
Diffstat (limited to 'ddk_build.cmd')
-rw-r--r-- | ddk_build.cmd | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ddk_build.cmd b/ddk_build.cmd index 8323d8d..88d3c25 100644 --- a/ddk_build.cmd +++ b/ddk_build.cmd @@ -11,14 +11,11 @@ rem DLL or static lib selection (must use concatenation) if Test%1==TestDLL goto libusb_dll :libusb_static set TARGET=LIBRARY -set LIBDEF= goto libusb_common :libusb_dll set TARGET=DYNLINK -set LIBDEF=/DLIBUSB_DLL_BUILD :libusb_common echo TARGETTYPE=%TARGET% > target -echo LIBUSB_DEFINES=%LIBDEF% >> target copy target+libusb_sources sources >NUL 2>&1 del target @echo on |