Re: [HACKERS] How to add and use a static library within Postgres backend

2015-11-29 Thread Craig Ringer
On 27 November 2015 at 10:35, XiaoChuan Yu wrote: > I'm doing some experimenting with the storage engine and I'd like to use a > C++ static library (that has C headers). I only need this to build on > Ubuntu 64-bit for now. > How do I make postgres build with this library? > Build it separately

[HACKERS] How to add and use a static library within Postgres backend

2015-11-27 Thread XiaoChuan Yu
I'm doing some experimenting with the storage engine and I'd like to use a C++ static library (that has C headers). I only need this to build on Ubuntu 64-bit for now. How do I make postgres build with this library? What changes do I need to make to the build system files? I assume headers go in s