diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/nc/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am index cfcdab1..564080c 100644 --- a/apps/nc/Makefile.am +++ b/apps/nc/Makefile.am | |||
@@ -12,6 +12,11 @@ nc_LDADD += $(top_builddir)/ssl/libssl.la | |||
12 | nc_LDADD += $(top_builddir)/tls/libtls.la | 12 | nc_LDADD += $(top_builddir)/tls/libtls.la |
13 | 13 | ||
14 | AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat | 14 | AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat |
15 | if OPENSSLDIR_DEFINED | ||
16 | AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"@OPENSSLDIR@/cert.pem\" | ||
17 | else | ||
18 | AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\" | ||
19 | endif | ||
15 | 20 | ||
16 | nc_SOURCES = atomicio.c | 21 | nc_SOURCES = atomicio.c |
17 | nc_SOURCES += netcat.c | 22 | nc_SOURCES += netcat.c |