Statically compiled libpq
target for bazel to be used with llvm_toolchain for 64-bit platforms.
crate.annotation(
build_script_env = {
"PQ_LIB_STATIC": "1",
},
compile_data = ["@@libpq+//:libpq"],
crate = "pq-sys",
rustc_flags = [
"-L",
"$(BINDIR)/external/libpq+",
],
)