diff options
| author | 2022-05-06 08:54:54 +0100 | |
|---|---|---|
| committer | 2022-05-06 09:12:59 +0100 | |
| commit | f0e0cef1cf7a32c8cd5bc5d86ad2f169f3ac18d5 (patch) | |
| tree | 4bef2b12ca1438f7b94012df73d914d34d3daea2 /src/modules/extra/m_pgsql.cpp | |
| parent | Fix installing example SQL schemas. (diff) | |
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]
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
| -rw-r--r-- | src/modules/extra/m_pgsql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. */ -/// $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 |
