package/stress-ng: add libbsd optional dependency
authorBaruch Siach <baruch@tkos.co.il>
Tue, 26 Feb 2019 17:46:48 +0000 (19:46 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 26 Feb 2019 18:40:38 +0000 (19:40 +0100)
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>
package/stress-ng/stress-ng.mk

index 187d276b2474b3e9527d18c466700f2ebbc54295..42b27e3cd96719b9ba3be040f0ae0d4ca56ed2ab 100644 (file)
@@ -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