summaryrefslogtreecommitdiff
path: root/ddk_build.cmd
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-08-02 23:13:17 +0100
committerPete Batard <pbatard@gmail.com>2010-08-02 23:13:17 +0100
commit7f4f7bd7538bec65a162e6f19bf4c5e1139e1a5a (patch)
tree430da7451a187f9962aad9069da920bbe982751a /ddk_build.cmd
parentc9b0a3b82e3c7771e1f34c134578f9d9bfd71b2e (diff)
downloadlibusb-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.cmd3
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