Skip to content

Commit 4a7b088

Browse files
committed
tweak CmakeLists
1 parent c087b38 commit 4a7b088

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ target_link_libraries(${OPENTELEMETRY_PROXY_LIBRARY_NAME} PRIVATE ${OPENTELEMETR
398398
# On Linux, when linking with certain static libraries, need to force include entire archive to avoid the linker mistakenly leaving out symbols
399399
if(UNIX AND NOT APPLE AND NOT CYGWIN)
400400
set(OPENTELEMETRY_PROXY_LINK_OPTIONS -Wl,--whole-archive
401+
"${Matlab_ROOT_DIR}/sys/os/glnxa64/orig/libstdc++.so.6"
401402
"${OTEL_CPP_PREFIX}/lib/libopentelemetry_trace.a"
402403
"${OTEL_CPP_PREFIX}/lib/libopentelemetry_logs.a"
403404
"${OTEL_CPP_PREFIX}/lib/libopentelemetry_common.a"

0 commit comments

Comments
 (0)