-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pgsql linker cpp #216
Fix pgsql linker cpp #216
Conversation
also need to patch the libxml-2.0.pc required libraries to change the order, I integrated this into #214 |
postgresql library 在依赖 icu 时,编译 postgresql 自身库时候也会走 linker 吗?我记得如果只生成库不生成二进制的话是不会在编译库时候走 linker 的。如果是这样,我觉得可以加一个 |
生成的二进制文件是这个: pg_config |
Yes, when you compile php with phsql + icu it links these parts. When you only use intl (icu) and build the Edit: it's just a matter of linking libs in the correct order. Or we use -Wl,--start-group and -Wl,--end-group to enable checking libs in both ways. |
use example : https://php-cli.jingjingxyk.com/extra-tools/make-env.sh |
已在 #231 中解决。 |
当pgsql 依赖 icu 时 需要链接 stdc++