Flags like {OPEN,POLAR}SSL_CFLAGS were used by the core build, but not by
the plugins. However, all plugins include openvpn-plugin.h, which need
crypto/ssl headers.
Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1398080238-19662-1-git-send-email-steffan@karger.me>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8576
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit ea31bc680fc83946b2cc8d0c93544a1ab2a01d63)
| ... | ... |
@@ -8,8 +8,9 @@ MAINTAINERCLEANFILES = \ |
| 8 | 8 |
$(srcdir)/Makefile.in |
| 9 | 9 |
|
| 10 | 10 |
AM_CFLAGS = \ |
| 11 |
- -I$(top_srcdir)/include |
|
| 12 |
- $(PLUGIN_AUTH_PAM_CFLAGS) |
|
| 11 |
+ -I$(top_srcdir)/include \ |
|
| 12 |
+ $(PLUGIN_AUTH_PAM_CFLAGS) \ |
|
| 13 |
+ $(OPTIONAL_CRYPTO_CFLAGS) |
|
| 13 | 14 |
|
| 14 | 15 |
if ENABLE_PLUGIN_AUTH_PAM |
| 15 | 16 |
plugin_LTLIBRARIES = openvpn-plugin-auth-pam.la |