[cairo] [PATCH] crosscompile fix for boilerplate autogeneration

Pierre Tardy tardyp at gmail.com
Sat Jul 18 10:50:34 PDT 2009


Here is a trivial patch that fix cairo boilerplate system on crosscompiling
environment.


---
 boilerplate/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/boilerplate/Makefile.am b/boilerplate/Makefile.am
index 763f9a6..3d8339f 100644
--- a/boilerplate/Makefile.am
+++ b/boilerplate/Makefile.am
@@ -49,7 +49,7 @@ endif
 libcairoboilerplate_la_LIBADD += $(CAIROBOILERPLATE_LIBS)

 make-cairo-boilerplate-constructors$(EXEEXT):
make-cairo-boilerplate-constructors.c
-       $(CC) $^ -o $@
+       $(CC_FOR_BUILD) $^ -o $@

 cairo-boilerplate-constructors.c: Makefile
$(enabled_cairo_boilerplate_sources)
make-cairo-boilerplate-constructors$(EXEEXT)
        echo '(cd $(srcdir) &&
$(top_builddir)/boilerplate/make-cairo-boilerplate-constructors$(EXEEXT)
$(enabled_cairo_boilerplate_sources)) > $@'
-- 
1.6.0.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20090718/eb6fa174/attachment.htm 


More information about the cairo mailing list