Gnulib commit
df1da811, "Fix link errors on Windows when close
module is used", adds a Makefile variable $(LIB_CLOSE) that expands
to -lws2_32. This commit adds that variable to the linker command
line.
It might not be necessary to add this to both pspp and psppire,
but it shouldn't hurt.
src/libpspp-core.la \
$(GTK_LIBS) \
$(GLADE_LIBS) \
- @LIBINTL@
+ @LIBINTL@ \
+ $(LIB_CLOSE)
src_ui_gui_psppiredir = $(pkgdatadir)
src/libpspp-core.la \
$(NCURSES_LIBS) \
$(LIBICONV) \
- @LIBINTL@ @LIBREADLINE@
+ @LIBINTL@ @LIBREADLINE@ \
+ $(LIB_CLOSE)
src_ui_terminal_pspp_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS)