timbess / libpg_query-sys

FFI bindings to libpg_query-10-1.0.2
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Support linking libpg_query dynamically #8

Open lubo opened 7 months ago

lubo commented 7 months ago

Currently, the code below always forces static linking:

https://github.com/timbess/libpg_query-sys/blob/3ce5062ab8fb5d29b2315bc092cb0238b2e68287/build.rs#L10

autarch commented 7 months ago

I'm not really using this crate these days, but if you want to make a PR to enable both static & dynamic linking I'd be happy to review it.