dotnet / android-libzipsharp

A managed wrapper (and then some) around libzip (https://libzip.org/)
MIT License
30 stars 12 forks source link

Only read first line to fix errors #21

Closed Rosalie241 closed 7 years ago

Rosalie241 commented 7 years ago

Only read first line to fix any errors while compiling xamarin.android, because on Arch you have libzip.so and libzip.so.5, it gives 2 lines of output, only take the first one to resolve any 'sed' errors like /home/tim/dev/xamarin-android/external/LibZipSharp/libZipSharp.csproj: error : Command 'sed -e 's;@LINUX_SONAME@;libzip.so.5;libzip.so;g' < libZipSharp.dll.config.in > obj/Unix/Debug/libZipSharp.dll.config' exited with code: 1. or sed: -e expression #1, char 30: unknown option to `s'