summaryrefslogtreecommitdiff
path: root/next/platform/linux/linux.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'next/platform/linux/linux.cmake')
-rw-r--r--next/platform/linux/linux.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/next/platform/linux/linux.cmake b/next/platform/linux/linux.cmake
index 98787eb04a..6c06a75e61 100644
--- a/next/platform/linux/linux.cmake
+++ b/next/platform/linux/linux.cmake
@@ -96,7 +96,11 @@ target_compile_definitions(
target_link_libraries(
mbgl-test-runner
- PRIVATE mbgl-compiler-options mbgl-test
+ PRIVATE
+ mbgl-compiler-options
+ -Wl,--whole-archive
+ mbgl-test
+ -Wl,--no-whole-archive
)
add_executable(