天天看点

PCRE-8.44和PCRE2-10.36编译静态库

这种c代码的程序,其实用静态库比较好。

PCRE-8.44和PCRE2-10.36编译静态库

之后把config.h里面的内容添加入pcre2.h中:

PCRE-8.44和PCRE2-10.36编译静态库
PCRE-8.44和PCRE2-10.36编译静态库

得到:

PCRE-8.44和PCRE2-10.36编译静态库

这样就完成了静态编译,用起来也方便。

多谢,亲爱的美美。

继续阅读