Source: mxml
Version: 2.11-2
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

mxml fails to cross build from source, because it skips targets for
cross compilation. In particular the libmxml.a target is skipped and
thus "make install" fails finding libmxml.a. Adding libmxml.a to
CROSSTARGETS fixes the cross build. Please consider applying the
attached patch.

Helmut
--- mxml-2.11.orig/Makefile.in
+++ mxml-2.11/Makefile.in
@@ -84,7 +84,7 @@
 LIBOBJS		=	$(PUBLIBOBJS) mxml-private.o mxml-string.o
 OBJS		=	mmd.o mxmldoc.o testmxml.o zipc.o $(LIBOBJS)
 ALLTARGETS	=	$(LIBMXML) mxmldoc testmxml mxml.xml @MXML_EPUB@
-CROSSTARGETS	=	$(LIBMXML) mxmldoc
+CROSSTARGETS	=	$(LIBMXML) mxmldoc libmxml.a
 TARGETS		=	$(@TARGETS@)
 
 

Reply via email to