gentoo/dev-cpp/tbb/files/tbb-2021.7.0-dynamicLink.patch
Alfredo Tupone bb2398cfcf
dev-cpp/tbb: patch CMakeLists to export symbols for that test
Closes: https://bugs.gentoo.org/835805
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2026-03-27 15:41:27 +01:00

11 lines
553 B
Diff

--- a/test/CMakeLists.txt 2026-03-27 13:13:21.627057086 +0100
+++ b/test/CMakeLists.txt 2026-03-27 13:17:16.113296894 +0100
@@ -367,6 +367,7 @@
tbb_add_test(SUBDIR tbb NAME test_allocators DEPENDENCIES TBB::tbb)
tbb_add_test(SUBDIR tbb NAME test_arena_priorities DEPENDENCIES TBB::tbb)
tbb_add_test(SUBDIR tbb NAME test_dynamic_link DEPENDENCIES TBB::tbb)
+ set_target_properties(test_dynamic_link PROPERTIES ENABLE_EXPORTS TRUE)
if (WIN32)
tbb_add_test(SUBDIR tbb NAME test_numa_dist DEPENDENCIES TBB::tbb)
endif()