From a97240b969c8ce48f728ee113f47f9c2ba598aeb Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 23 May 2013 09:10:04 -0400 Subject: Tests/IncludeDirectories: Avoid shared library with no symbols The parent commit added a empty_entry_test shared library to the IncludeDirectories test. Some toolchains fail to create a shared library with no user-defined symbols, so provide a dummy symbol. --- Tests/IncludeDirectories/empty.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tests/IncludeDirectories/empty.cpp b/Tests/IncludeDirectories/empty.cpp index ab32cf6..1787013 100644 --- a/Tests/IncludeDirectories/empty.cpp +++ b/Tests/IncludeDirectories/empty.cpp @@ -1 +1,4 @@ -// No content +#ifdef _WIN32 +__declspec(dllexport) +#endif +int empty() { return 0; } -- cgit v0.12