Skip to content

Commit

Permalink
Fix prebuild and prelink scripts
Browse files Browse the repository at this point in the history
Make sure they work on empty git clone directories
  • Loading branch information
lundman committed Oct 22, 2024
1 parent 069c4c4 commit 5f4f271
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion contrib/windows/OpenZFS/OpenZFS/OpenZFS.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
<DisableProductionSignDebugWarnings>false</DisableProductionSignDebugWarnings>
<TimeStampServer>http://timestamp.digicert.com</TimeStampServer>
<IncludePath>$(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH);../../../../include</IncludePath>
<PreLinkEventUseInBuild>true</PreLinkEventUseInBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
Expand Down Expand Up @@ -203,9 +204,15 @@
</Command>
</PostBuildEvent>
<PreLinkEvent>
<Command>copy /Y "$(SolutionDir)..\..\..\out\build\x64-Debug\module\os\windows\driver\OpenZFS.man" "$(TargetDir)\OpenZFS"</Command>
<Command>copy /Y "$(SolutionDir)..\..\..\out\build\x64-Debug\module\os\windows\driver\OpenZFS.man" "$(TargetDir)\OpenZFS\OpenZFS.man"</Command>
<Message>Copy OpenZFS.man to deploy dir - no better way?</Message>
</PreLinkEvent>
<PreBuildEvent>
<Command>IF NOT EXIST "$(TargetDir)OpenZFS" MKDIR "$(TargetDir)OpenZFS"</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Make sure output exists</Message>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
Expand Down

0 comments on commit 5f4f271

Please sign in to comment.