![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The following bug has been logged online: Bug reference: 2585 Logged by: Email address: mafm (AT) users (DOT) sourceforge.net PostgreSQL version: 8.1.4 Operating system: GNU/Linux Description: Please provide pkg-config support Details: I haven't found a suitable place to put this wish-list item, and since most projects manage these along with bug in trackers, here we go... I'd like you to provide a pkg-config file, so people can use pkg-config to gather the neccesary compiler flags to build and link against libpq libraries. |
#3
| |||
| |||
|
|
mafm (AT) users (DOT) sourceforge.net wrote: The following bug has been logged online: Bug reference: 2585 Logged by: Email address: mafm (AT) users (DOT) sourceforge.net PostgreSQL version: 8.1.4 Operating system: GNU/Linux Description: Please provide pkg-config support Details: I haven't found a suitable place to put this wish-list item, and since most projects manage these along with bug in trackers, here we go... I'd like you to provide a pkg-config file, so people can use pkg-config to gather the neccesary compiler flags to build and link against libpq libraries. whats wrong with using pg_config ? Stefan |
#4
| |||
| |||
|
|
Well, I use around 10 libraries in my project, it's easier to use standardized methods to gather the compiler/linker options using pkg-config than calling different configuration scripts for each one, and using "pkg-config --exists $name" or "pkg-config --at-least=1.0 $name" than to check whether the "pg_config" script (and so with the rest) exists in your path, and figuring out ways to compare versions. I was reporting it as a wish-list item after all ![]() |
#5
| |||
| |||
|
|
Manuel A. Fernandez Montecelo wrote: Well, I use around 10 libraries in my project, it's easier to use standardized methods to gather the compiler/linker options using pkg-config than calling different configuration scripts for each one, Just FYI, this was proposed and rejected before. pg_config is our method. It doesn't seem like too onerous a requeriment to change "pkg-" to "pg_", is it? |
![]() |
| Thread Tools | |
| Display Modes | |
| |