开发者

icu-config getting static library flags

开发者 https://www.devze.com 2023-03-22 19:41 出处:网络
how to get static library flags for icu. Using icu-config . If I run icu-config --ldflags It links with dynamic library. I want to link against static library. How can I get sta开发者_运维知识库tic

how to get static library flags for icu. Using icu-config .

If I run icu-config --ldflags

It links with dynamic library. I want to link against static library. How can I get sta开发者_运维知识库tic flag using icu-config


if ICU was built for static libraries only, then icu-config should output the arguments for static libs. There's no option to select static libraries if both are available. You could file a bug on this.

What would be better is to use something like pkg-config --static icu-uc --libs but that does not seem to work either. You could file a bug on this.

0

精彩评论

暂无评论...
验证码 换一张
取 消