diff --git a/ntfsprogs/Makefile.am b/ntfsprogs/Makefile.am index 4510ccad..a6e1049d 100644 --- a/ntfsprogs/Makefile.am +++ b/ntfsprogs/Makefile.am @@ -114,9 +114,9 @@ ntfsdump_logfile_LDFLAGS= $(AM_LFLAGS) if ENABLE_CRYPTO ntfsdecrypt_SOURCES = ntfsdecrypt.c utils.c utils.h -ntfsdecrypt_LDADD = $(AM_LIBS) -ntfsdecrypt_LDFLAGS = $(AM_LFLAGS) `libgnutls-config --libs` -ntfsdecrypt_CFLAGS = `libgnutls-config --cflags` +ntfsdecrypt_LDADD = $(AM_LIBS) $(GNUTLS_LIBS) +ntfsdecrypt_LDFLAGS = $(AM_LFLAGS) +ntfsdecrypt_CFLAGS = $(GNUTLS_CFLAGS) endif # Extra targets