Browse Source

package/wvstreams: add argp-standalone as optional dependency

This ensures the build reproducibility.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour 10 years ago
parent
commit
ec99380250
1 changed files with 6 additions and 0 deletions
  1. 6 0
      package/wvstreams/wvstreams.mk

+ 6 - 0
package/wvstreams/wvstreams.mk

@@ -32,6 +32,12 @@ ifneq ($(BR2_STATIC_LIBS),y)
 WVSTREAMS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -fPIC"
 endif
 
+# wvstreams uses argp.h which can be provided by the 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