aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2019-02-26 19:46:48 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-02-26 19:40:38 +0100
commit759c9623aa88d7721529ac9f83b892183fb26edf (patch)
treeece351177e12618a86b83df2fe7824bf98f03969 /package
parent55f45e6833e76c3eaa60412185d0b3d1d127b7ed (diff)
downloadbuildroot-759c9623aa88d7721529ac9f83b892183fb26edf.tar.gz
buildroot-759c9623aa88d7721529ac9f83b892183fb26edf.tar.bz2
package/stress-ng: add libbsd optional dependency
stress-ng optionally detects and uses BSD wcsl* wchar string functions. Cc: Romain Naour <romain.naour@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r--package/stress-ng/stress-ng.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/stress-ng/stress-ng.mk b/package/stress-ng/stress-ng.mk
index 187d276b24..42b27e3cd9 100644
--- a/package/stress-ng/stress-ng.mk
+++ b/package/stress-ng/stress-ng.mk
@@ -12,6 +12,10 @@ STRESS_NG_LICENSE_FILES = COPYING
STRESS_NG_DEPENDENCIES = attr keyutils
+ifeq ($(BR2_PACKAGE_LIBBSD),y)
+STRESS_NG_DEPENDENCIES += libbsd
+endif
+
define STRESS_NG_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef