diff options
| -rw-r--r-- | package/libroxml/libroxml.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libroxml/libroxml.mk b/package/libroxml/libroxml.mk index 9a6c97a255..f30169fe39 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)) |

