diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-02-03 04:17:55 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-02-03 04:17:55 +0100 |
commit | f539a4f6f6e2865d20f6fa6129e8c5315c3eafa1 (patch) | |
tree | 73ef6c1032f2b969385ac39acf8841898caeda72 /subr/pkg_setup.subr | |
parent | 5b02e1597a0c3aa9c6c6d385acea34de6e37fadf (diff) | |
download | midipix_build-f539a4f6f6e2865d20f6fa6129e8c5315c3eafa1.tar.bz2 midipix_build-f539a4f6f6e2865d20f6fa6129e8c5315c3eafa1.tar.xz |
subr/pkg_{build,install,setup}.subr: cleanup.
Diffstat (limited to 'subr/pkg_setup.subr')
-rw-r--r-- | subr/pkg_setup.subr | 5 |
1 files changed, 4 insertions, 1 deletions
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; }; |