summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorSteffan Karger <steffan@karger.me>2014-04-21 13:37:18 +0200
committerGert Doering <gert@greenie.muc.de>2014-04-27 15:40:54 +0200
commitea31bc680fc83946b2cc8d0c93544a1ab2a01d63 (patch)
treec911faf5a99bfbe29309b2f124b8f1a07fe8c73b /src/plugins
parent2a97e69e71d4afb9c32268890e13db19cb73196b (diff)
downloadopenvpn-ea31bc680fc83946b2cc8d0c93544a1ab2a01d63.tar.gz
openvpn-ea31bc680fc83946b2cc8d0c93544a1ab2a01d63.tar.xz
openvpn-ea31bc680fc83946b2cc8d0c93544a1ab2a01d63.zip
Fix build system to accept non-system crypto library locations for plugins.
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>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/auth-pam/Makefile.am5
-rw-r--r--src/plugins/down-root/Makefile.am3
2 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/auth-pam/Makefile.am b/src/plugins/auth-pam/Makefile.am
index 701a749..2aef311 100644
--- a/src/plugins/auth-pam/Makefile.am
+++ b/src/plugins/auth-pam/Makefile.am
@@ -8,8 +8,9 @@ MAINTAINERCLEANFILES = \
$(srcdir)/Makefile.in
AM_CFLAGS = \
- -I$(top_srcdir)/include
- $(PLUGIN_AUTH_PAM_CFLAGS)
+ -I$(top_srcdir)/include \
+ $(PLUGIN_AUTH_PAM_CFLAGS) \
+ $(OPTIONAL_CRYPTO_CFLAGS)
if ENABLE_PLUGIN_AUTH_PAM
plugin_LTLIBRARIES = openvpn-plugin-auth-pam.la
diff --git a/src/plugins/down-root/Makefile.am b/src/plugins/down-root/Makefile.am
index 064aa30..7ca5a4e 100644
--- a/src/plugins/down-root/Makefile.am
+++ b/src/plugins/down-root/Makefile.am
@@ -8,7 +8,8 @@ MAINTAINERCLEANFILES = \
$(srcdir)/Makefile.in
AM_CFLAGS = \
- -I$(top_srcdir)/include
+ -I$(top_srcdir)/include \
+ $(OPTIONAL_CRYPTO_CFLAGS)
if ENABLE_PLUGIN_DOWN_ROOT
plugin_LTLIBRARIES = openvpn-plugin-down-root.la