diff -r 864e2d701dd4 -r a171da778817 configure --- a/configure Fri Feb 04 18:41:40 2022 +0100 +++ b/configure Sat Feb 19 16:34:29 2022 +0100 @@ -250,10 +250,11 @@ fi CFLAGS="$CFLAGS `$PKG_CONFIG --cflags libpq`" LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs libpq`" - CFLAGS="$CFLAGS -DENABLE_POSTGRESQL" cat >> $TEMP_DIR/make.mk << __EOF__ # Dependency: libpq +CFLAGS += -DENABLE_POSTGRESQL PLUGINS += postgresql +TEST_PLUGIN_LDFLAGS += -lwspgtest __EOF__ echo yes