From f539a4f6f6e2865d20f6fa6129e8c5315c3eafa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 3 Feb 2017 04:17:55 +0100 Subject: subr/pkg_{build,install,setup}.subr: cleanup. --- subr/pkg_setup.subr | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'subr/pkg_setup.subr') diff --git a/subr/pkg_setup.subr b/subr/pkg_setup.subr index c9a78a49..0ee60bb7 100644 --- a/subr/pkg_setup.subr +++ b/subr/pkg_setup.subr @@ -10,7 +10,6 @@ pkg_setup() { else PKG_CONFIGURE=${PWD}/${PKG_CONFIGURE#/}; fi; - cd ${PKG_BUILD_DIR}; if [ "${PKG_BUILD_TYPE}" = "host" ]; then export AR=ar; export CC=gcc; @@ -27,6 +26,10 @@ pkg_setup() { else __no_autoconf=1; fi; + if [ "${PKG_SLIBTOOL}" != "default" ]; then + export MAKE="make LIBTOOL=${PKG_SLIBTOOL:-slibtool}"; + fi; + cd ${PKG_BUILD_DIR}; set_build_script_done setup distclean -configure; }; -- cgit v1.2.3