aboutsummaryrefslogtreecommitdiffstats
path: root/main/unixodbc
diff options
context:
space:
mode:
authorTom Parker-Shemilt <palfrey@tevp.net>2019-10-27 17:19:19 +0000
committerLeo <thinkabit.ukim@gmail.com>2019-11-19 17:58:23 +0100
commit625e55416308d0edf9b31d43f5656a9ebb8ff6e6 (patch)
tree218f06972a49175b700fabdff9e84a2a5465616f /main/unixodbc
parentd32fdfcde51caeae18eb8bbeba23c1cc404be759 (diff)
downloadaports-625e55416308d0edf9b31d43f5656a9ebb8ff6e6.tar.gz
aports-625e55416308d0edf9b31d43f5656a9ebb8ff6e6.tar.bz2
aports-625e55416308d0edf9b31d43f5656a9ebb8ff6e6.tar.xz
main/unixodbc: Add static linking support
Diffstat (limited to 'main/unixodbc')
-rw-r--r--main/unixodbc/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/unixodbc/APKBUILD b/main/unixodbc/APKBUILD
index a09aa1d588..e2f82ef8fd 100644
--- a/main/unixodbc/APKBUILD
+++ b/main/unixodbc/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=unixodbc
pkgver=2.3.7
-pkgrel=1
+pkgrel=2
pkgdesc="ODBC is an open specification to access Data Sources"
url="http://www.unixodbc.org/"
arch="all"
license="LGPL-2.0-or-later"
options="!check" # No test suite.
makedepends="readline-dev"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="http://www.unixodbc.org/unixODBC-${pkgver}.tar.gz"
builddir="$srcdir/unixODBC-$pkgver"
@@ -24,7 +24,8 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls \
- --enable-gui=no
+ --enable-gui=no \
+ --enable-static
make
}