From 573e08a643bac0af91df90582638f1f765dab429 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 15 Jan 2017 14:48:09 -0800 Subject: Compile static *and* shared libraries. Test code needs to use the static libraries so that they can get access to the entire set of symbols, including private ones that are not exported. --- src/platform/windows/win_debug.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/platform/windows/win_debug.c') diff --git a/src/platform/windows/win_debug.c b/src/platform/windows/win_debug.c index 00fd6493..cf8ad9eb 100644 --- a/src/platform/windows/win_debug.c +++ b/src/platform/windows/win_debug.c @@ -78,4 +78,9 @@ nni_plat_errno(int errnum) } +#else + +// Suppress empty symbols warnings in ranlib. +int nni_win_debug_not_used = 0; + #endif // PLATFORM_WINDOWS -- cgit v1.2.3-70-g09d2