summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-16 21:20:04 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-16 21:22:31 +0200
commitc0e1ab2ee4acb94c9a16070dae3850609501eee9 (patch)
treeb14aedbc3527e2466168c32f1a89e7a04e0f5965 /lib
parentce735c9f1a84a49092b3d3047eb90a200851f7fc (diff)
downloadgnutls-c0e1ab2ee4acb94c9a16070dae3850609501eee9.tar.gz
Use the pkg-config macro to find libtasn1.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 3b336510dc..51474bae99 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -37,6 +37,7 @@ AM_CPPFLAGS = \
-I$(srcdir)/includes \
-I$(builddir)/includes \
-I$(srcdir)/x509 \
+ $(LIBTASN1_CFLAGS) \
$(P11_KIT_CFLAGS)
if ENABLE_OPENPGP
@@ -134,7 +135,7 @@ endif
if ENABLE_MINITASN1
libgnutls_la_LIBADD += minitasn1/libminitasn1.la
else
-libgnutls_la_LDFLAGS += $(LTLIBTASN1)
+libgnutls_la_LDFLAGS += $(LIBTASN1_LIBS)
endif
if ENABLE_NETTLE