Merge "Only add libdl dependency for ASan/TSan on target."

This commit is contained in:
Evgenii Stepanov 2016-06-30 23:49:26 +00:00 committed by Gerrit Code Review
commit 3d8ee8896b
1 changed files with 3 additions and 1 deletions

View File

@ -101,7 +101,9 @@ ifneq ($(my_sanitize),)
my_cflags += -fsanitize-trap=all
my_cflags += -ftrap-function=abort
endif
my_shared_libraries += libdl
ifneq ($(filter address thread,$(my_sanitize)),)
my_shared_libraries += libdl
endif
endif
endif