diff --git a/package/libroxml/libroxml.mk b/package/libroxml/libroxml.mk index 9a6c97a25..f30169fe3 100644 --- a/package/libroxml/libroxml.mk +++ b/package/libroxml/libroxml.mk @@ -12,4 +12,8 @@ LIBROXML_LICENSE_FILES = License.txt LIBROXML_CONF_OPT = --disable-silent-rules +# libroxml forgets to compile/link with -pthread, even though it uses +# thread functions breaking static linking +LIBROXML_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -pthread" LIBS="-pthread" + $(eval $(autotools-package))