summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \