summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/host-libcap-ng.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/host-libcap-ng.make b/rules/host-libcap-ng.make
index 34c0411de..35a378f9d 100644
--- a/rules/host-libcap-ng.make
+++ b/rules/host-libcap-ng.make
@@ -26,4 +26,9 @@ HOST_LIBCAP_NG_CONF_OPT := \
--without-python \
--without-python3
+# needed for old glibc versions
+HOST_LIBCAP_NG_CONF_ENV := \
+ $(HOST_ENV) \
+ LDFLAGS="-lpthread"
+
# vim: syntax=make