MinGW Msys Compilation Libzip

Source: Internet
Author: User

Libzip compilation requires zlib support

There's a sentence in the Configure file.

--with-zlib=prefix Specify PREFIX for Zlib library

So

Add--with-zlib= "absolute path to $zlib library" when configure

Since you need zlib header and library files for next make, then compile zlib

Make-f WIN32/MAKEFILE.GCC is compiled, and the compiled library file and the corresponding header file are placed in the MinGW

Perform compilation on Libzip

Make

Make install

In the Msys directory in the local find Libzip corresponding library and header files copied to the MinGW, that is done

This article is from the "Ice Fox Prodigal Blog" blog, please be sure to keep this source http://bhlzlx.blog.51cto.com/3389283/1587429

MinGW Msys Compilation Libzip

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.