From e35536c7e947df1e2bae70ad746e31648e6d002b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 8 Jun 2020 16:45:17 -0400 Subject: Fix bugs --- bzip2/build.sh | 6 +++--- openssl/build.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bzip2/build.sh b/bzip2/build.sh index 7428421..0c43630 100644 --- a/bzip2/build.sh +++ b/bzip2/build.sh @@ -48,8 +48,8 @@ function package() { rm -f libbz2.${lib_type}* # Reconstruct symlinks - ln -s libbz2.${lib_format_darwin} libbz2.${lib_format_darwin_short} - ln -s libbz2.${lib_format_darwin} libbz2.${lib_type} + ln -s -f libbz2.${lib_format_darwin} libbz2.${lib_format_darwin_short} + ln -s -f libbz2.${lib_format_darwin} libbz2.${lib_type} # Reset LC_ID_DYLIB to use expected naming conventions install_name_tool -id libbz2.${lib_format_darwin_short} \ @@ -68,7 +68,7 @@ function package() { # Install binaries cp -a bzip2-shared "${_pkgdir}${_prefix}"/bin/bzip2 - ln -s libbz2.${lib_format} libbz2.${lib_type} + ln -s -f libbz2.${lib_format} libbz2.${lib_type} cp -a libbz2.${lib_format} "${_pkgdir}${_prefix}"/lib cp -a libbz2.${lib_format_short} "${_pkgdir}${_prefix}"/lib cp -a libbz2.${lib_type} "${_pkgdir}${_prefix}"/lib diff --git a/openssl/build.sh b/openssl/build.sh index c2c895d..dc785f4 100644 --- a/openssl/build.sh +++ b/openssl/build.sh @@ -13,7 +13,7 @@ depends=( function prepare() { tar xf ${name}-${version}.tar.gz cd ${name}-${version} - export LDFLAGS="-Wl,-rpath=${_runtime}" + export LDFLAGS="-Wl,-rpath,${_runtime}" } function build() { -- cgit