diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-02 16:02:18 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-02 16:02:18 +0100 |
commit | 5092e45e3fbfd614743e675c216c4ab0214073bb (patch) | |
tree | 69d0a92d70af2df292e6c2b27836a9ce257cb9d7 /tests/unit_tests/unbound.cpp | |
parent | Merge pull request #780 (diff) | |
download | monero-5092e45e3fbfd614743e675c216c4ab0214073bb.tar.xz |
tests: unbound API is only accessible in static builds
Diffstat (limited to 'tests/unit_tests/unbound.cpp')
-rw-r--r-- | tests/unit_tests/unbound.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit_tests/unbound.cpp b/tests/unit_tests/unbound.cpp index 25026ec58..666f68127 100644 --- a/tests/unit_tests/unbound.cpp +++ b/tests/unit_tests/unbound.cpp @@ -30,6 +30,8 @@ #include "gtest/gtest.h" +#ifdef STATICLIB + extern "C" int dnskey_algo_id_is_supported(int); TEST(unbound, supported_algorithms) @@ -47,3 +49,5 @@ TEST(unbound, supported_algorithms) ASSERT_TRUE(dnskey_algo_id_is_supported(13)); } +#endif + |