]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix build system to accept non-system crypto library locations for plugins.
authorSteffan Karger <steffan@karger.me>
Mon, 21 Apr 2014 11:37:18 +0000 (13:37 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 27 Apr 2014 13:40:54 +0000 (15:40 +0200)
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>
src/plugins/auth-pam/Makefile.am
src/plugins/down-root/Makefile.am

index 701a749740efd9a7f419b62f167ec296907b571e..2aef311a90f52788fad223046fa912a3afc212c0 100644 (file)
@@ -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
index 064aa30ccbedf9d7b755e263f69c81e36cb5e489..7ca5a4e1d5f7721303c9d85544b71ea6ce8c388f 100644 (file)
@@ -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