mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 16:39:03 +08:00
74f6077ec3
Build WinPCAP libraries from source code.
20 lines
1.1 KiB
Diff
20 lines
1.1 KiB
Diff
diff --git a/create_lib.bat b/create_lib.bat
|
|
index dbe511c..d431b88 100644
|
|
--- a/create_lib.bat
|
|
+++ b/create_lib.bat
|
|
@@ -9,12 +9,10 @@ mkdir %WPDPACKDESTDIR% >nul 2>nul
|
|
mkdir %WPDPACKDESTDIR%\Lib >nul 2>nul
|
|
mkdir %WPDPACKDESTDIR%\Lib\x64 >nul 2>nul
|
|
|
|
-xcopy /v /Y %WINPCAPSOURCEDIR%\wpcap\PRJ\Release\x86\wpcap.lib %WPDPACKDESTDIR%\Lib\ >nul
|
|
-xcopy /v /Y %WINPCAPSOURCEDIR%\wpcap\PRJ\Release\x64\wpcap.lib %WPDPACKDESTDIR%\Lib\x64 >nul
|
|
+xcopy /v /Y "%WINPCAPSOURCEDIR%\wpcap\PRJ\Release No AirPcap\x86\wpcap.lib" %WPDPACKDESTDIR%\Lib\ >nul
|
|
+xcopy /v /Y "%WINPCAPSOURCEDIR%\wpcap\PRJ\Release No AirPcap\x64\wpcap.lib" %WPDPACKDESTDIR%\Lib\x64 >nul
|
|
xcopy /v /Y %WINPCAPSOURCEDIR%\packetNtx\Dll\Project\Release\x86\packet.lib %WPDPACKDESTDIR%\Lib\ >nul
|
|
xcopy /v /Y %WINPCAPSOURCEDIR%\packetNtx\Dll\Project\Release\x64\packet.lib %WPDPACKDESTDIR%\Lib\x64 >nul
|
|
-xcopy /v /Y %WINPCAPSOURCEDIR%\packetNtx\Dll\Project\libpacket.a %WPDPACKDESTDIR%\Lib\ >nul
|
|
-xcopy /v /Y %WINPCAPSOURCEDIR%\wpcap\LIB\libwpcap.a %WPDPACKDESTDIR%\Lib\ >nul
|
|
|
|
echo Folder \Lib created successfully
|
|
|