!10899 Fix ubuntu undefined symbols

From: @zhoufeng54
Reviewed-by: @kisnwang,@xu-yfei
Signed-off-by: @xu-yfei
This commit is contained in:
mindspore-ci-bot 2021-01-05 16:59:07 +08:00 committed by Gitee
commit 377796e7e4
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ else ()
endif()
endif()
if (ENABLE_D)
target_link_libraries(_c_expression PRIVATE ms_profile)
target_link_libraries(_c_expression PRIVATE -Wl,--no-as-needed ms_profile)
endif ()
if (ENABLE_ACL)
target_link_libraries(_c_expression PRIVATE graph)