summaryrefslogtreecommitdiff
path: root/package/libxml2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libxml2/Makefile')
-rw-r--r--package/libxml2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/libxml2/Makefile b/package/libxml2/Makefile
index 2bac9ea1b..dbcfcef86 100644
--- a/package/libxml2/Makefile
+++ b/package/libxml2/Makefile
@@ -35,6 +35,7 @@ include $(TOPDIR)/mk/python.mk
HOST_STYLE:= auto
HOST_CONFIGURE_ARGS+= --without-python
+HOST_MAKE_FLAGS+= LDFLAGS=-lpthread
AUTOTOOL_STYLE:= autoreconf
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))