All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [pull request] Pull request for branch zlib-no-ldconfig
@ 2011-01-26  8:27 Thomas Petazzoni
  2011-01-26  8:27 ` [Buildroot] [PATCH 1/1] zlib: disable call to ldconfig Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2011-01-26  8:27 UTC (permalink / raw)
  To: buildroot

The following changes since commit 4c6a451ac9fab16abcda5834ed4a9b728091ab9e:
  Thomas Petazzoni (1):
        tcpdump, libpcap: simplify and fix ac_cv_linux_vers

are available in the git repository at:

  git://git.busybox.net/~tpetazzoni/git/buildroot zlib-no-ldconfig

Thomas Petazzoni (1):
      zlib: disable call to ldconfig

 package/zlib/zlib.mk |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Thanks,
-- 
Thomas Petazzoni

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] zlib: disable call to ldconfig
  2011-01-26  8:27 [Buildroot] [pull request] Pull request for branch zlib-no-ldconfig Thomas Petazzoni
@ 2011-01-26  8:27 ` Thomas Petazzoni
  2011-01-26 15:47   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2011-01-26  8:27 UTC (permalink / raw)
  To: buildroot

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>
---
 package/zlib/zlib.mk |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index 58f758b..dcd2548 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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] zlib: disable call to ldconfig
  2011-01-26  8:27 ` [Buildroot] [PATCH 1/1] zlib: disable call to ldconfig Thomas Petazzoni
@ 2011-01-26 15:47   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2011-01-26 15:47 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> By default, zlib installation procedure calls ldconfig, which takes
 Thomas> time uselessly. ldconfig is only useful if you install libraries on
 Thomas> the host (in directories listed in /etc/ld.so.conf, or in /usr/lib or
 Thomas> /lib), so calling it after installing libraries in $(STAGING_DIR),
 Thomas> $(TARGET_DIR) or $(HOST_DIR) is just a lenghty no-op.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-26 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26  8:27 [Buildroot] [pull request] Pull request for branch zlib-no-ldconfig Thomas Petazzoni
2011-01-26  8:27 ` [Buildroot] [PATCH 1/1] zlib: disable call to ldconfig Thomas Petazzoni
2011-01-26 15:47   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.