Skip to content

Commit c08b40e

Browse files
committed
Force symbol visibility in release builds for DLM
1 parent d72c8cc commit c08b40e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: interpreter/CppInterOp/unittests/CppInterOp/TestSharedLib/TestSharedLib.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifdef _WIN32
66
extern "C" __declspec(dllexport) int ret_zero();
77
#else
8-
extern "C" int ret_zero();
8+
extern "C" __attribute__((visibility("default"))) int ret_zero();
99
#endif
1010

1111
#endif // UNITTESTS_CPPINTEROP_TESTSHAREDLIB_TESTSHAREDLIB_H

0 commit comments

Comments
 (0)