Commit 134f51bf authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

libroxml: fix pthread linking issue

Fixes http://autobuild.buildroot.net/results/d18/d188bcf5c374273ffe09589f7db5a40e4c5d7bc9/



Thread handling can get disabled with --disable-xml-thread-safe, but that's
a change for next.

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 779cb8be
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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))