pty test: Fix link error.
[pspp] / modules / pty-tests
index 2d8b9c33d095e4b73834b0c18aecdcf0afa6b105..981ae1846b0534020a5cf1691ea57f4c73f91043 100644 (file)
@@ -4,4 +4,4 @@ tests/test-pty.c
 Makefile.am:
 TESTS += test-pty
 check_PROGRAMS += test-pty
-test_pty_LDADD = $(PTY_LIB)
+test_pty_LDADD = $(LDADD) $(PTY_LIB)