Summary: | devel/icu: icu-config and *.pc files underspecify dependencies for static linking | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
Component: | Individual Port(s) | Assignee: | FreeBSD Office Team <office> |
Status: | Closed Works As Intended | ||
Severity: | Affects Only Me | CC: | pavelivolkov, tijl |
Priority: | --- | Keywords: | needs-patch |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Jan Beich
2016-11-16 16:09:24 UTC
What the above means is *.pc files may need something like "Libs.private: -lc++" added. (In reply to Jan Beich (mail not working) from comment #1) I've never seen a pkg-config file include runtime libraries like -lc++ or -lstdc++. I suspect you have to link with c++ instead of cc. Do you mean to patch every consumer of any C library that depends on ICU (e.g. sqlite3 with ICU=on) ? However, static linking in ports is rare and ICU usage in C libraries is rare as well. |