diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-02-21 11:51:22 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-21 14:45:03 +0100 |
commit | 4969784be1f008aac71a3a07d6a7ff0c7f624e16 (patch) | |
tree | 24b7ff32fa6222980fe3c9b29f7353099cc5dd2e /package/cifs-utils | |
parent | 0d592e6fe83cfb73774f722ccd78f679445edc42 (diff) | |
download | buildroot-4969784be1f008aac71a3a07d6a7ff0c7f624e16.tar.gz buildroot-4969784be1f008aac71a3a07d6a7ff0c7f624e16.zip |
package/cifs-utils: add optional support for keyutils
When keyutils was compiled before, cifs-utils will use it as optional
dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/cifscreds | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libkeyutils.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.1]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/cifs-utils')
-rw-r--r-- | package/cifs-utils/cifs-utils.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/cifs-utils/cifs-utils.mk b/package/cifs-utils/cifs-utils.mk index e668b08c55..89358b1f17 100644 --- a/package/cifs-utils/cifs-utils.mk +++ b/package/cifs-utils/cifs-utils.mk @@ -14,6 +14,10 @@ ifeq ($(BR2_STATIC_LIBS),y) CIFS_UTILS_CONF_OPTS += --disable-pie endif +ifeq ($(BR2_PACKAGE_KEYUTILS),y) +CIFS_UTILS_DEPENDENCIES += keyutils +endif + define CIFS_UTILS_NO_WERROR $(SED) 's/-Werror//' $(@D)/Makefile.in endef |