summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-07-23 17:45:54 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-09-17 12:28:55 +0300
commita849b38390c66f968678630eb44eb6061d82b333 (patch)
treeb41926d00e546ab5bbf36c7608bae3716b5154ec /test
parent79670593de7ce2a7bfcf86d373dd145f5c52cb55 (diff)
downloadqtlocation-mapboxgl-a849b38390c66f968678630eb44eb6061d82b333.tar.gz
[build] Mark explicitly visible symbols
Easier to maintain than a linker script. We build everything with visibility hidden by default.
Diffstat (limited to 'test')
-rw-r--r--test/include/mbgl/test.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/include/mbgl/test.hpp b/test/include/mbgl/test.hpp
index ad5b868f30..db47ebb8d8 100644
--- a/test/include/mbgl/test.hpp
+++ b/test/include/mbgl/test.hpp
@@ -1,7 +1,9 @@
#pragma once
+#include <mbgl/util/util.hpp>
+
namespace mbgl {
-int runTests(int argc, char* argv[]);
+MBGL_EXPORT int runTests(int argc, char* argv[]);
} // namespace mbgl