Skip to content

Commit

Permalink
Merge pull request Tencent#794 from linjiquan/master
Browse files Browse the repository at this point in the history
suppress 'has no synbols' static linking warnings
  • Loading branch information
garryyan authored Jun 3, 2020
2 parents 8d130d6 + e51dda0 commit ad3baef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mars/mars_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def libtool_libs(src_libs, dst_lib):
src_lib_str = '%s %s'%(src_lib_str, l)

print(src_lib_str)
ret = os.system('libtool -static -o %s %s' %(dst_lib, src_lib_str))
ret = os.system('libtool -static -no_warning_for_no_symbols -o %s %s' %(dst_lib, src_lib_str))
if ret != 0:
print('!!!!!!!!!!!libtool %s fail!!!!!!!!!!!!!!!' %(dst_lib))
return False
Expand Down

0 comments on commit ad3baef

Please sign in to comment.