squawk icon indicating copy to clipboard operation
squawk copied to clipboard

Unable to build `libpg_query-sys` against system `libpg_query` in v1.1.1

Open lubo opened this issue 1 year ago • 1 comments

Hi. I'm maintainer of https://aur.archlinux.org/packages/squawk-cli. In https://github.com/chdsbd/libpg_query-sys/commit/e29418bc3e33666c5d6ee030696495517c9d978c, LIBPG_QUERY_PATH environmental variable has been removed and libpg_query is always built from source. This is undesirable, as I don't wanna deal with all the issues that stem from bundling of native dependencies. Would it be possible to get back the option to build libpg_query-sys against system libpg_query?

lubo avatar Jun 17 '24 10:06 lubo

@lubo Thanks for the report!

Is it possible for you to test with this PR? https://github.com/sbdchd/squawk/pull/358

chdsbd avatar Jun 18 '24 00:06 chdsbd

@lubo can you try with the latest squawk version on master?

chdsbd avatar Jan 11 '25 18:01 chdsbd

Yes, works as expected in 1.5.1.

lubo avatar Jan 11 '25 19:01 lubo