pkg-config Requires.private entries should be comma-separated
authorPeter Eisentraut <[email protected]>
Thu, 16 Mar 2023 06:37:38 +0000 (07:37 +0100)
committerPeter Eisentraut <[email protected]>
Thu, 16 Mar 2023 06:37:38 +0000 (07:37 +0100)
commit4ef1be5a0b676a9f030cc2e4837f4b5650ecb069
tree1356ae2da026043fcd0069690e38d50ff872f7fb
parente731aeac8928592435f73465a03fae83a2db0ee2
pkg-config Requires.private entries should be comma-separated

In the .pc (pkg-config) files generated by the make and meson builds,
the Requires.private entries use different delimiters.  The make build
uses spaces, the meson build uses commas. The pkg-config documentation
says that it should be comma-separated, but apparently about half the
.pc in the wild use just spaces.  The pkg-config source code
acknowledges that both commas and spaces work.

This changes the make build to use commas, for consistency.

Reviewed-by: Andres Freund <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/1fb52d61-0964-2d8e-87d9-e8be830e2b24%40enterprisedb.com
src/interfaces/ecpg/compatlib/Makefile
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/libpq/Makefile