Hi, In cairo we are facing a bug in the no man's land between automake and libtool. Reporting here anyway.
In short, all cairo source is C code, except for the BeOS backend that is C++. So we have a block like this in our Makefile.am: beos_headers = cairo-beos.h beos_sources = cairo-beos-surface.cpp cairo_all_sources += $(beos_headers) $(beos_sources) if CAIRO_HAS_BEOS_SURFACE cairo_headers += $(beos_headers) cairo_sources += $(beos_sources) backend_pkgconfigs += cairo-beos.pc endif However, even if CAIRO_HAS_BEOS_SURFACE is false, the C++ linker is chosen to link cairo. That we want to avoid. Any hints? Cheers, behdad