Remove LIB_CLOSE variables from linker options.
[pspp-builds.git] / src / ui / gui / automake.mk
index 1a2b4af13113f08098b3be0a585e6444999dc1a7..11106640d66db78c5e685b112048da79042eae88 100644 (file)
@@ -29,8 +29,7 @@ src_ui_gui_psppire_LDADD = \
        src/libpspp.la \
        src/libpspp-core.la \
        $(GTK_LIBS) \
-       @LIBINTL@ \
-       $(LIB_CLOSE)
+       @LIBINTL@
 
 src_ui_gui_psppiredir = $(pkgdatadir)
 
@@ -252,7 +251,8 @@ PHONY += yelp-check
 AM_CPPFLAGS += -Isrc
 
 src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list
-       glib-genmarshal --body --prefix=psppire_marshal $< > $@
+       echo '#include <config.h>' > $@
+       glib-genmarshal --body --prefix=psppire_marshal $< >> $@
 
 src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
        glib-genmarshal --header --prefix=psppire_marshal $< > $@