tests: unbound API is only accessible in static builds

This commit is contained in:
moneromooo-monero 2016-04-02 16:02:18 +01:00
parent e7c8a32a28
commit 5092e45e3f
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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