aboutsummaryrefslogtreecommitdiffstats
path: root/main/iniparser
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-11-06 11:33:24 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-09 07:34:50 +0000
commitb77181c7805be2a6fcef22051c4469ef0e2d3708 (patch)
treef76393573ecf0b648272e0b355857253e20d0137 /main/iniparser
parent521992f5d52b73aa4d22541a9e2aa1d3d24feb46 (diff)
downloadaports-b77181c7805be2a6fcef22051c4469ef0e2d3708.tar.bz2
aports-b77181c7805be2a6fcef22051c4469ef0e2d3708.tar.xz
main/iniparser: build libiniparser.so with -fPIC
Diffstat (limited to 'main/iniparser')
-rw-r--r--main/iniparser/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/iniparser/APKBUILD b/main/iniparser/APKBUILD
index 21d54ea23d..cb266f2b87 100644
--- a/main/iniparser/APKBUILD
+++ b/main/iniparser/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iniparser
pkgver=4.0
-pkgrel=0
+pkgrel=1
pkgdesc="C library for parsing "INI-style" files"
url="http://ndevilla.free.fr/iniparser/"
arch="all"
@@ -27,8 +27,8 @@ prepare() {
build() {
cd "$_builddir"
- make CC="${CC:-gcc}" CFLAGS="${CFLAGS}" LDFLAGS="$LDFLAGS" \
- libiniparser.so || return 1
+ make CC="${CC:-gcc}" CFLAGS="${CFLAGS} -fPIC" LDFLAGS="$LDFLAGS" \
+ libiniparser.so || return 11
}
package() {