diff options
| author | pravic <[email protected]> | 2016-04-15 19:25:35 +0300 |
|---|---|---|
| committer | pravic <[email protected]> | 2016-04-15 19:25:35 +0300 |
| commit | 4898c06feb94653326735865057e069311806ea1 (patch) | |
| tree | d2cf7491a777b536c4c197fc4492b3dcab330ca1 /examples/03.urandom/builddbg.cmd | |
| parent | add note about target compilation (diff) | |
| download | winapi-kmd-rs-4898c06feb94653326735865057e069311806ea1.tar.xz winapi-kmd-rs-4898c06feb94653326735865057e069311806ea1.zip | |
fix paths in build.cmd for the manual staticlib compilation
Diffstat (limited to 'examples/03.urandom/builddbg.cmd')
| -rw-r--r-- | examples/03.urandom/builddbg.cmd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/03.urandom/builddbg.cmd b/examples/03.urandom/builddbg.cmd index 031d63f..a7a74f9 100644 --- a/examples/03.urandom/builddbg.cmd +++ b/examples/03.urandom/builddbg.cmd @@ -1,4 +1,4 @@ -call vcvars14 +call "%VS140COMNTOOLS%vsvars32.bat" @set KIND=debug @set NAME=urandom @@ -8,7 +8,7 @@ set LFLAGS=/NOLOGO /INCREMENTAL:NO /MANIFEST:NO /NODEFAULTLIB /SUBSYSTEM:NATIVE set LLIBS=ntoskrnl.lib hal.lib set RFLAGS=/OPT:REF,ICF rem cpu-specific -set LPATH=/LIBPATH:"F:\DDK\7600\lib\win7\i386" +set LPATH=/LIBPATH:"..\..\..\native\win7\i386" set LFLAGS=%LFLAGS% /MACHINE:X86 /entry:DriverEntry@8 set TDIR=target\i686-sys-windows-msvc\%KIND% link.exe %LFLAGS% %RFLAGS% %LPATH% %LLIBS% %TDIR%\%NAME%.lib /OUT:%TDIR%\%NAME%.sys |