summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2014-03-17 11:45:59 +0100
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2014-03-17 11:45:59 +0100
commitcd9732b8b31f1b0efacd7caeb2b1fb8c4f624ccf (patch)
tree344332fbb2c4888a80c1f19df7da3fd8b89dfdce /main
parent1a725edc654c99d6859d372346a61ba6edb5c266 (diff)
downloadaports-cd9732b8b31f1b0efacd7caeb2b1fb8c4f624ccf.tar.bz2
aports-cd9732b8b31f1b0efacd7caeb2b1fb8c4f624ccf.tar.xz
main/net-snmp: fix build
Diffstat (limited to 'main')
-rw-r--r--main/net-snmp/APKBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD
index 610704eeb..891fcca5e 100644
--- a/main/net-snmp/APKBUILD
+++ b/main/net-snmp/APKBUILD
@@ -49,9 +49,8 @@ build() {
cd "$_builddir"
export lt_cv_sys_max_cmd_len=8192
-
- #build fails on: libnetsnmpmibs.so: undefined reference to `pthread_create'
LDFLAGS="$LDFLAGS -lpthread"
+ CFLAGS="$CFLAGS -fPIC"
./configure \
--build=$CBUILD \