aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/nc/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am
index 2a24d87..ed45c3f 100644
--- a/apps/nc/Makefile.am
+++ b/apps/nc/Makefile.am
@@ -17,6 +17,11 @@ nc_LDADD += $(abs_top_builddir)/ssl/libssl.la
17nc_LDADD += $(abs_top_builddir)/tls/libtls.la 17nc_LDADD += $(abs_top_builddir)/tls/libtls.la
18 18
19AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat 19AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat
20if OPENSSLDIR_DEFINED
21AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"@OPENSSLDIR@/cert.pem\"
22else
23AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\"
24endif
20 25
21nc_SOURCES = atomicio.c 26nc_SOURCES = atomicio.c
22nc_SOURCES += netcat.c 27nc_SOURCES += netcat.c