summaryrefslogtreecommitdiffstats
path: root/package/zlib/zlib.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-01-26 09:27:03 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-01-26 16:46:49 +0100
commit71970895406975355a3870b1ff3920e6aefd9158 (patch)
tree8680a2fbbd7cce540e008f3881c1b81afd52fb6a /package/zlib/zlib.mk
parented3ac88635ce51591f4b7195f7078d86cfbfc382 (diff)
downloadbuildroot-novena-71970895406975355a3870b1ff3920e6aefd9158.tar.gz
buildroot-novena-71970895406975355a3870b1ff3920e6aefd9158.zip
zlib: disable call to ldconfig
By default, zlib installation procedure calls ldconfig, which takes time uselessly. ldconfig is only useful if you install libraries on the host (in directories listed in /etc/ld.so.conf, or in /usr/lib or /lib), so calling it after installing libraries in $(STAGING_DIR), $(TARGET_DIR) or $(HOST_DIR) is just a lenghty no-op. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/zlib/zlib.mk')
-rw-r--r--package/zlib/zlib.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index 58f758bc9..dcd2548da 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -48,15 +48,15 @@ define HOST_ZLIB_BUILD_CMDS
endef
define ZLIB_INSTALL_STAGING_CMDS
- $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) install
+ $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) LDCONFIG=true install
endef
define ZLIB_INSTALL_TARGET_CMDS
- $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) install
+ $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) LDCONFIG=true install
endef
define HOST_ZLIB_INSTALL_CMDS
- $(MAKE1) -C $(@D) install
+ $(MAKE1) -C $(@D) LDCONFIG=true install
endef
define ZLIB_CLEAN_CMDS