[Buildroot] [PATCH 3/3] package/wvstreams: add argp-standalone as optionnal dependency

Romain Naour romain.naour at openwide.fr
Fri May 1 16:44:46 UTC 2015


This ensures the build reproducibility.

Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
 package/wvstreams/wvstreams.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/wvstreams/wvstreams.mk b/package/wvstreams/wvstreams.mk
index bc7c5d4..3db317a 100644
--- a/package/wvstreams/wvstreams.mk
+++ b/package/wvstreams/wvstreams.mk
@@ -32,6 +32,11 @@ ifneq ($(BR2_STATIC_LIBS),y)
 WVSTREAMS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -fPIC"
 endif
 
+# wvstreams use argp.h which can be provided by argp-standalone package.
+ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
+WVSTREAMS_DEPENDENCIES += argp-standalone
+endif
+
 ifeq ($(BR2_PACKAGE_DBUS),y)
 WVSTREAMS_DEPENDENCIES += dbus
 WVSTREAMS_CONF_OPTS += --with-dbus
-- 
1.9.3




More information about the buildroot mailing list