From 86c0f540a5155a42fadc79c45b3e8d35b52da9eb 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: Sun, 6 Mar 2016 21:26:18 +0000 Subject: - Force non-widec ncurses build. - Fix $PREFIX_NATIVE/lib.bak exclusion in tarball creation. - Create lib.a files for all shared objects linked. - Fix bzip2 shared object installation. --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index e8751232..5572981c 100755 --- a/build.sh +++ b/build.sh @@ -104,8 +104,8 @@ if [ $(( ${BUILD_NFINI} + ${BUILD_NSKIP} )) -ge 0 ] \ tar -C ${PREFIX_BASENAME}/lib -cpf - . | tar -C ${PREFIX_BASENAME}/lib.bak -xpf -; log_msg info "Backed up ${PREFIX_BASENAME}/lib."; find native/lib -maxdepth 1 -type l \ - -exec sh -c '[ -f "${DEST:=$(readlink -- "${0}")}" ] && \ - rm -f -- "${0}" && ln -- "${DEST}" "${0}"' {} \;; + -exec sh -c '[ -f "${DEST:=native/lib/$(readlink -- "${0}")}" ] && \ + rm -f -- "${0}" && ln -f -- "${DEST}" "${0}"' {} \;; log_msg info "Converted symbolic links in ${PREFIX_BASENAME}/lib to hard links."; tar -cJpf ${TARBALL_FNAME_PREFIX}${BUILD_USER}@${BUILD_HNAME}-${BUILD_DATE_START}.tar.xz\ $(find_with_no_paths "${TARBALL_EXCLUDE_PATHS} native/lib.bak" . \ -- cgit v1.2.3