Skip to contentSkip to conversation

Pull request for branch zlib-no-ldconfig

GIT PULL New Thomas Petazzoni 2 participants 3 messages Jan 26, 2011

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/1 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.

---
 package/zlib/zlib.mk |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
package/zlib/zlib.mk +3 -3
index 58f758b..dcd2548 100644
@@ -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
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 1/1 zlib: disable call to ldconfig

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard