From 322d1465725fdd6756380181e1b01cfd421d147e Mon Sep 17 00:00:00 2001 From: Chris Dickens Date: Mon, 9 Jan 2017 15:29:55 -0800 Subject: [PATCH] Windows: Fix DDK build's missing files Signed-off-by: Chris Dickens --- libusb/version_nano.h | 2 +- msvc/ddk_build.cmd | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 8403ef2..b6afcdd 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11163 +#define LIBUSB_NANO 11168 diff --git a/msvc/ddk_build.cmd b/msvc/ddk_build.cmd index c0b905a..48d7804 100644 --- a/msvc/ddk_build.cmd +++ b/msvc/ddk_build.cmd @@ -53,13 +53,13 @@ set dstPath=%destType%\Release :isDebug if exist %destType% goto md2 -mkdir %destType% +md %destType% :md2 if exist %dstPath% goto md3 -mkdir %dstPath% +md %dstPath% :md3 if exist %dstPath%\dll goto md4 -mkdir %dstPath%\dll +md %dstPath%\dll :md4 if exist %dstPath%\lib goto md5 md %dstPath%\lib @@ -69,7 +69,7 @@ md %dstPath%\examples :md6 @echo on -@if /I NOT Test%1==TestDLL goto copylib +if %TARGET%==LIBRARY goto copylib copy %srcPath%\libusb-%version%.dll %dstPath%\dll copy %srcPath%\libusb-%version%.pdb %dstPath%\dll :copylib -- 2.7.4