X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fterminal%2Fautomake.mk;h=57eedb29e8e727fed027148f25dca74f913c669c;hb=8802135d750fdee1002c7e8bcaeda74a10e26d26;hp=65cd23a33818f4b7b9f37e2c71ca33e8efd3e03e;hpb=c13375ebe886fc3ed5ce70a260bb2b01cebb4b1f;p=pspp diff --git a/src/ui/terminal/automake.mk b/src/ui/terminal/automake.mk index 65cd23a338..57eedb29e8 100644 --- a/src/ui/terminal/automake.mk +++ b/src/ui/terminal/automake.mk @@ -33,6 +33,7 @@ src_ui_terminal_pspp_LDADD = \ src/data/libdata.a \ src/libpspp/libpspp.a \ $(LIBXML2_LIBS) \ + $(PG_LIBS) \ $(LIBICONV) \ gl/libgl.la \ @LIBINTL@ @LIBREADLINE@ @@ -40,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