gnutls: correctly set CFLAGS using GNUTLS_CFLAGS
authorEmmanuel Pacaud <emmanuel@gnome.org>
Mon, 25 Mar 2013 13:38:23 +0000 (14:38 +0100)
committerDan Winship <danw@gnome.org>
Wed, 3 Apr 2013 16:35:11 +0000 (12:35 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=692134

tls/gnutls/Makefile.am
tls/tests/Makefile.am

index fd83f4f..c2ab465 100644 (file)
@@ -49,7 +49,7 @@ libgiognutls_la_SOURCES =             \
 
 INCLUDES +=                            \
        $(P11_CFLAGS)                   \
-       $(LIBGNUTLS_CFLAGS)             \
+       $(GNUTLS_CFLAGS)                \
        $(NULL)
 
 libgiognutls_la_LDFLAGS = $(module_flags)
index 94fd6f2..305394d 100644 (file)
@@ -25,7 +25,10 @@ TEST_PROGS +=              \
        pkcs11-pin         \
        pkcs11-slot
 
-INCLUDES += $(PKCS11_CFLAGS)
+INCLUDES +=                    \
+       $(PKCS11_CFLAGS)        \
+       $(GNUTLS_CFLAGS)
+
 LDADD += $(top_builddir)/tls/pkcs11/libgiopkcs11.la $(PKCS11_LIBS)
 
 pkcs11_slot_SOURCES = pkcs11-slot.c \