diff options
author | Martchus | 2020-01-18 12:17:52 +0100 |
---|---|---|
committer | Martchus | 2020-01-18 12:17:52 +0100 |
commit | cff4cb93328b40e92c2fcaf8a4cbe4dbba9b3653 (patch) | |
tree | df6ecf9b727ff327977bd533ca9cb41aa37f361c /PKGBUILD | |
parent | a8e4342be0632df05782bda1b4dc8bca6d85822f (diff) | |
download | aur-cff4cb93328b40e92c2fcaf8a4cbe4dbba9b3653.tar.gz |
Add symlinks for suffixed dynamic libs
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -10,7 +10,7 @@ _ver=1.1.1d pkgname=android-$_pkg_arch-$_pkgname # use a pacman compatible version scheme pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} -pkgrel=2 +pkgrel=3 pkgdesc="The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (Android, $_pkg_arch)" arch=('any') url='https://www.openssl.org' @@ -72,6 +72,11 @@ package() { cp -r include/openssl "$pkgdir/${ANDROID_PREFIX_INCLUDE}" install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + # add symlinks for dynamic libs with SHLIB_EXT so build scripts can find them under their usual names + for lib in libcrypto libssl; do + ln -s "${lib}_1_1.so" "${pkgdir}/${ANDROID_PREFIX_LIB}/${lib}.so" + done + # strip binaries find "$pkgdir" -name 'lib*.so' -type f -exec "$ANDROID_STRIP" --strip-unneeded {} \; find "$pkgdir" -name 'lib*.a' -type f -exec "$ANDROID_STRIP" -g {} \; |