aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-11-04 23:38:08 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-11-10 00:40:16 +0530
commit408686a31d3cf88a823b19399b16310ebbb94938 (patch)
tree8f355b21bd94209c0b246d752cb6e413a6c0240e
parentf09508dde7274ca683bb59e4ec2354a90be421c1 (diff)
downloadmeson-408686a31d3cf88a823b19399b16310ebbb94938.zip
meson-408686a31d3cf88a823b19399b16310ebbb94938.tar.gz
meson-408686a31d3cf88a823b19399b16310ebbb94938.tar.bz2
Fix 62 exe static shared on MSVC
The static function also needs to be DLL exported to be found.
-rw-r--r--test cases/common/62 exe static shared/stat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test cases/common/62 exe static shared/stat.c b/test cases/common/62 exe static shared/stat.c
index 4eceb30..680ed92 100644
--- a/test cases/common/62 exe static shared/stat.c
+++ b/test cases/common/62 exe static shared/stat.c
@@ -1,5 +1,7 @@
+#include "subdir/exports.h"
+
int shlibfunc();
-int statlibfunc() {
+int DLL_PUBLIC statlibfunc() {
return shlibfunc();
}