|
@@ -114,6 +114,7 @@ FEATURE_TESTS = \
|
|
|
libelf-mmap \
|
|
|
libelf-getphdrnum \
|
|
|
libunwind \
|
|
|
+ libaudit \
|
|
|
libnuma
|
|
|
|
|
|
$(foreach test,$(FEATURE_TESTS),$(call feature_check,$(test),$(test)))
|
|
@@ -265,8 +266,7 @@ ifndef NO_LIBUNWIND
|
|
|
endif
|
|
|
|
|
|
ifndef NO_LIBAUDIT
|
|
|
- FLAGS_LIBAUDIT = $(CFLAGS) $(LDFLAGS) -laudit
|
|
|
- ifneq ($(call try-cc,$(SOURCE_LIBAUDIT),$(FLAGS_LIBAUDIT),libaudit),y)
|
|
|
+ ifneq ($(feature-libaudit), 1)
|
|
|
msg := $(warning No libaudit.h found, disables 'trace' tool, please install audit-libs-devel or libaudit-dev);
|
|
|
NO_LIBAUDIT := 1
|
|
|
else
|