diff options
author | Selva Nair | 2017-01-18 15:42:52 -0500 |
---|---|---|
committer | David Sommerseth | 2017-01-20 17:55:14 +0100 |
commit | f91ab283a407e25c4b32aecb390911b212ce2694 (patch) | |
tree | be91ea98684abc0bc4bc8238ef8c8dd8765343a8 /tests | |
parent | 4cd4899e8e80efae03c584a760fd107251735723 (diff) | |
download | openvpn-f91ab283a407e25c4b32aecb390911b212ce2694.zip openvpn-f91ab283a407e25c4b32aecb390911b212ce2694.tar.gz |
Add a check for -Wl, --wrap support in linker
- Also make tests that require --wrap option to be
conditional on this support
[ DS: Removed AC_DEFINE([HAVE_LD_WRAP_SUPPORT],...) at commit time
as we now see no real use for such a #define in config.h ]
Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <1484772172-19758-1-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13897.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_tests/openvpn/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit_tests/openvpn/Makefile.am b/tests/unit_tests/openvpn/Makefile.am index fafe6b2..b902b20 100644 --- a/tests/unit_tests/openvpn/Makefile.am +++ b/tests/unit_tests/openvpn/Makefile.am @@ -1,6 +1,10 @@ AUTOMAKE_OPTIONS = foreign -check_PROGRAMS = argv_testdriver buffer_testdriver +check_PROGRAMS= + +if HAVE_LD_WRAP_SUPPORT +check_PROGRAMS += argv_testdriver buffer_testdriver +endif if ENABLE_CRYPTO check_PROGRAMS += tls_crypt_testdriver |