mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
Merge pull request #786
5092e45
tests: unbound API is only accessible in static builds (moneromooo-monero)
This commit is contained in:
commit
b52148201b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue