Use OpenSSL include path as needed

For consistency make "-I" part of the macro value set by autoconf.

For now, don't attempt to handle OpenSSL rpath in cf/crypto.m4.
That's much easier by just setting LDFLAGS when running configure.
Otherwise too many Makefiles to edit and libtool and automake do
their best to undo the rpath.
This commit is contained in:
Viktor Dukhovni
2016-05-07 07:02:09 +00:00
parent 9393d53538
commit 1017a594ef
5 changed files with 13 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
include $(top_srcdir)/Makefile.am.common
if HAVE_HCRYPTO_W_OPENSSL
AM_CPPFLAGS += -I$(INCLUDE_openssl_crypto)
AM_CPPFLAGS += $(INCLUDE_openssl_crypto)
endif
AM_CPPFLAGS += -I$(top_srcdir)/lib/hx509 \