pspp-output: Make the binary relocatable.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 7 Sep 2020 21:25:33 +0000 (14:25 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 7 Sep 2020 21:25:33 +0000 (14:25 -0700)
utilities/automake.mk

index cde13530c2ff082946808f97542564368e3924c8..41c57c733f204e4afdd48624bc26407be5d8fd96 100644 (file)
@@ -43,3 +43,6 @@ utilities_pspp_output_LDADD = \
        src/libpspp-core.la \
        $(CAIRO_LIBS)
 utilities_pspp_output_LDFLAGS = $(PSPP_LDFLAGS) $(LIBXML2_LIBS)
+if RELOCATABLE_VIA_LD
+utilities_pspp_output_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
+endif