[Xamarin.Android.Build.Tasks] Fix libzip build on Linux (#170)
- Remove an OS check making Linux distributions other than Ubuntu fail to build the library - Fix OutputLibraryPath
This commit is contained in:
Родитель
4f10438c7c
Коммит
fb0687587e
|
@ -16,8 +16,7 @@
|
|||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.Common.targets" />
|
||||
<PropertyGroup>
|
||||
<BuildDependsOn />
|
||||
<BuildDependsOn Condition="'$(HostOS)' == 'Windows' OR '$(HostOS)' == 'Darwin'">
|
||||
<BuildDependsOn>
|
||||
ResolveReferences;
|
||||
_BuildUnlessCached
|
||||
</BuildDependsOn>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<CMake>cmake</CMake>
|
||||
<CMakeFlags></CMakeFlags>
|
||||
<OutputLibrary>libzip.so</OutputLibrary>
|
||||
<OutputLibraryPath>libzip.so</OutputLibraryPath>
|
||||
<OutputLibraryPath>lib/libzip.so</OutputLibraryPath>
|
||||
</_LibZipTarget>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
Загрузка…
Ссылка в новой задаче