From: Michael Tremer Date: Sat, 23 Oct 2010 13:03:48 +0000 (+0200) Subject: naoki: Run ldconfig before building. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff39b55bc1f900385865eb20cbb8005117d32e13;p=ipfire-3.x.git naoki: Run ldconfig before building. --- diff --git a/pkgs/Functions b/pkgs/Functions index ff64af3b9..42cfa80fe 100644 --- a/pkgs/Functions +++ b/pkgs/Functions @@ -12,6 +12,11 @@ DO_PACKAGE_FILENAME = $(1)$(call DO_PKG_SUFFIX,$(1)) DO_PKG_SUFFIX = \ -$(if $(PKG_VER-$(1)),$(PKG_VER-$(1)),$(PKG_VER))-$(DISTRO_SNAME)$(DISTRO_EPOCH)-$(PKG_ARCH).$(if $(PKG_REL-$(1)),$(PKG_REL-$(1)),$(PKG_REL)).ipk +define DO_INIT + # Run ldconfig + ldconfig +endef + define DO_PACKAGE @echo "#####################################################################" @echo "# $(1) - Package build started" @@ -75,6 +80,9 @@ define DO_FIX_LIBTOOL endef define DO_PREPARE + # Initialize the environment at the beginning + $(DO_INIT) + @echo "#####################################################################" @echo "# $(PKG_NAME) - Preparation started" @echo "#####################################################################"