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 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 | |||
17 | nc_LDADD += $(abs_top_builddir)/tls/libtls.la | 17 | nc_LDADD += $(abs_top_builddir)/tls/libtls.la |
18 | 18 | ||
19 | AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat | 19 | AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat |
20 | if OPENSSLDIR_DEFINED | ||
21 | AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"@OPENSSLDIR@/cert.pem\" | ||
22 | else | ||
23 | AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\" | ||
24 | endif | ||
20 | 25 | ||
21 | nc_SOURCES = atomicio.c | 26 | nc_SOURCES = atomicio.c |
22 | nc_SOURCES += netcat.c | 27 | nc_SOURCES += netcat.c |