Fixed problems when building with --enable-relocatable
[pspp-builds.git] / tests / automake.mk
index 6fb11d02e46d12735160bf74754c4b38b71cf6a0..bfca93d4b90218fc00bcb57ad65e17fd5e22b15d 100644 (file)
@@ -270,6 +270,7 @@ tests_dissect_sysfile_SOURCES = \
        src/libpspp/float-format.c \
        tests/dissect-sysfile.c
 tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@
+tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
 
 EXTRA_DIST += \
        $(dist_TESTS) \