Quellcode durchsuchen

gnupg: depend on libiconv if appropriate

If iconv is built before gnupg, this package will link against it; if it is
built after this package, it will not be linked against it.  To make the
build reproducible, make sure that iconv is always built before this
package.

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls vor 11 Jahren
Ursprung
Commit
1e7602327a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      package/gnupg/gnupg.mk

+ 1 - 1
package/gnupg/gnupg.mk

@@ -9,7 +9,7 @@ GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2
 GNUPG_SITE = ftp://ftp.gnupg.org/gcrypt/gnupg
 GNUPG_LICENSE = GPLv3+
 GNUPG_LICENSE_FILES = COPYING
-GNUPG_DEPENDENCIES = zlib ncurses
+GNUPG_DEPENDENCIES = zlib ncurses $(if $(BR2_PACKAGE_LIBICONV),libiconv)
 GNUPG_CONF_ENV = ac_cv_sys_symbol_underscore=no
 GNUPG_CONF_OPT = --disable-rpath --enable-minimal --disable-regex