diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-06-08 16:45:17 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-06-08 16:45:17 -0400 |
commit | e35536c7e947df1e2bae70ad746e31648e6d002b (patch) | |
tree | 5a3a0d92aa5378b90d228f08f363f880c3425d36 | |
parent | 3b30be51008b8259db9b826b10096fb35d324a2e (diff) | |
download | spm_packages-e35536c7e947df1e2bae70ad746e31648e6d002b.tar.gz |
Fix bugs
-rw-r--r-- | bzip2/build.sh | 6 | ||||
-rw-r--r-- | 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() { |