diff options
Diffstat (limited to 'next/platform/linux/linux.cmake')
-rw-r--r-- | next/platform/linux/linux.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/next/platform/linux/linux.cmake b/next/platform/linux/linux.cmake index 8ff02db1ba..98787eb04a 100644 --- a/next/platform/linux/linux.cmake +++ b/next/platform/linux/linux.cmake @@ -106,7 +106,11 @@ add_executable( target_link_libraries( mbgl-benchmark-runner - PRIVATE mbgl-compiler-options mbgl-benchmark + PRIVATE + mbgl-compiler-options + -Wl,--whole-archive + mbgl-benchmark + -Wl,--no-whole-archive ) add_executable( |