Increase the chances of finding libpq if it's installed.
[pspp-builds.git] / src / ui / terminal / automake.mk
index 0684e313caa0638369df94207516d0990a3ac97f..57eedb29e8e727fed027148f25dca74f913c669c 100644 (file)
@@ -41,6 +41,8 @@ src_ui_terminal_pspp_LDADD = \
 
 
 
+src_ui_terminal_pspp_LDFLAGS = $(PG_LDFLAGS)
+
 if RELOCATABLE_VIA_LD
-src_ui_terminal_pspp_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
+src_ui_terminal_pspp_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
 endif