aboutsummaryrefslogtreecommitdiff
path: root/package/e2fsprogs/e2fsprogs.mk
diff options
context:
space:
mode:
authorGravatar Maxime Hadjinlian <maxime.hadjinlian@gmail.com>2016-11-18 16:24:26 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-11 15:54:35 +0100
commit64544178f180f03cedd8fe403d3718406d909c88 (patch)
tree7b99c9e32a3de5e8b96cbe15ff53d7c79ca0997f /package/e2fsprogs/e2fsprogs.mk
parent3eccf762016d2e75911a20bf319e7f15776ae159 (diff)
downloadbuildroot-64544178f180f03cedd8fe403d3718406d909c88.tar.gz
buildroot-64544178f180f03cedd8fe403d3718406d909c88.tar.bz2
e2fsprogs: pass LDCONFIG=true also at install time
We correctly set LDCONFIG=true for MAKE_OPTS, but not for the other steps which don't inherit it, and therefore e2fsprogs tries to use the host ldconfig during staging and target installation, which causes some weird error messages at build time (even if they don't abort the build). Fix that by passing LDCONFIG=true at install time. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/e2fsprogs/e2fsprogs.mk')
-rw-r--r--package/e2fsprogs/e2fsprogs.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index b6e79d246b..48bb9ec38f 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -63,8 +63,9 @@ ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
E2FSPROGS_CONF_ENV += LIBS=-lintl
endif
-E2FSPROGS_MAKE_OPTS = \
- LDCONFIG=true
+E2FSPROGS_MAKE_OPTS = LDCONFIG=true
+E2FSPROGS_INSTALL_STAGING_OPTS = LDCONFIG=true
+E2FSPROGS_INSTALL_TARGET_OPTS = LDCONFIG=true
define HOST_E2FSPROGS_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install install-libs