kumquat-buildroot/package/libroxml/libroxml.mk
Peter Korsgaard 134f51bf0d 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: Peter Korsgaard <peter@korsgaard.com>
2014-08-29 08:59:01 +02:00

20 lines
641 B
Makefile

################################################################################
#
# libroxml
#
################################################################################
LIBROXML_VERSION = 2.3.0
LIBROXML_SITE = http://download.libroxml.net/pool/v2.x
LIBROXML_INSTALL_STAGING = YES
LIBROXML_LICENSE = LGPLv2.1+ with static link exception
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))