From f0e0cef1cf7a32c8cd5bc5d86ad2f169f3ac18d5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 6 May 2022 08:54:54 +0100 Subject: Tweak the compiler flags for extra modules a bit. - Use pkg-config for the pgsql module. - Remove defaults from argon2, geo_maxmind, and regex_re2 (these are not needed with newer package versions). - Remove old library warning from geo_maxmind (no longer needed). [skip windows ci] --- src/modules/extra/m_pgsql.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra/m_pgsql.cpp') diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 86dcfe6ce..30d2690a6 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -27,8 +27,8 @@ * along with this program. If not, see . */ -/// $CompilerFlags: -isystem execute("pg_config --includedir" "POSTGRESQL_INCLUDE_DIR") -/// $LinkerFlags: -Lexecute("pg_config --libdir" "POSTGRESQL_LIBRARY_DIR") -lpq +/// $CompilerFlags: find_compiler_flags("libpq") +/// $LinkerFlags: find_linker_flags("libpq") /// $PackageInfo: require_system("arch") postgresql-libs /// $PackageInfo: require_system("centos") postgresql-devel -- cgit v1.3.1-10-gc9f91