From 358454d5bb1be07a28e5b24814eafe9183d4f8c7 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 12 Jan 2018 22:04:41 +0100 Subject: tests/Makefile.am: Define LIBPAM_COMPILE to disable libpam's PAM_NONNULL check on pam_set_item() pam_get_item(). --- tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 988bd83..70f7b86 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -60,7 +60,8 @@ test_freerdpclient_wrapper_CXXFLAGS = \ test_freerdpclient_wrapper_CPPFLAGS = \ $(AM_CPPFLAGS) \ - -DAUTH_CHECK="\"$(abs_builddir)/test-freerdp-auth\"" + -DAUTH_CHECK="\"$(abs_builddir)/test-freerdp-auth\"" \ + -DLIBPAM_COMPILE test_freerdpclient_wrapper_LDFLAGS = \ -pthread -- cgit v1.2.3