Skip to content

Commit

Permalink
Makefile.am: Add explicit openssl directory to pppd include path
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
paulusmack committed Apr 22, 2024
1 parent c7cf255 commit 100afaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pppd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 100afaf

Please sign in to comment.