From: Paul Mackerras Date: Mon, 22 Apr 2024 22:35:03 +0000 (+1000) Subject: Makefile.am: Add explicit openssl directory to pppd include path X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=HEAD;hp=--cc Makefile.am: Add explicit openssl directory to pppd include path When configured with an explicit (non-default) path to the openssl libraries, we need to add an appropriate -I option when compiling pppd code so that it can find the openssl header files. Signed-off-by: Paul Mackerras --- 100afafa365b974cc9761be51ad126e0d9121eed diff --git a/pppd/Makefile.am b/pppd/Makefile.am index c5fe107..65880ab 100644 --- a/pppd/Makefile.am +++ b/pppd/Makefile.am @@ -177,6 +177,8 @@ noinst_LTLIBRARIES = libppp_crypto.la libppp_crypto_la_SOURCES=crypto.c ppp-md5.c ppp-md4.c ppp-sha1.c ppp-des.c if PPP_WITH_OPENSSL +pppd_CPPFLAGS += $(OPENSSL_INCLUDES) + libppp_crypto_la_CPPFLAGS=$(OPENSSL_INCLUDES) libppp_crypto_la_LDFLAGS=$(OPENSSL_LDFLAGS) libppp_crypto_la_LIBADD=$(OPENSSL_LIBS)