How to add and use a static library within Postgres backend - Mailing list pgsql-hackers

From XiaoChuan Yu
Subject How to add and use a static library within Postgres backend
Date
Msg-id CAKnH-zqre7A=+KGg6J3ac3aFeHj8m8VV5pjCnbdU4XrOK6Djgw@mail.gmail.com
Whole thread Raw
Responses Re: How to add and use a static library within Postgres backend  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
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 src/include but where do I put the library.a file?

Thanks,
Xiaochuan Yu

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: PL/Pythonu - function ereport
Next
From: Tomas Vondra
Date:
Subject: Re: silent data loss with ext4 / all current versions