bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrong linker chosen..


From: Behdad Esfahbod
Subject: Wrong linker chosen..
Date: Tue, 15 Apr 2008 13:39:19 -0400

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]