cairo/util/cairo-missing/Makefile.sources
Andrea Canciani 6d6bfbd641 Introduce the cairo-missing library
The cairo-missing library provides the functions which are needed in
order to correctly compile cairo (or its utilities) and which were not
found during configuration.

Fixes the build on MacOS X Lion, which failed because of collisons
between the cairo internal getline and strndup and those in libc:

cairo-analyse-trace.c:282: error: static declaration of ‘getline’ follows non-static declaration
/usr/include/stdio.h:449: error: previous declaration of ‘getline’ was here
cairo-analyse-trace.c:307: error: static declaration of ‘strndup’ follows non-static declaration
...
2011-09-02 12:27:13 +02:00

8 lines
122 B
Text

libcairo_missing_sources = \
strndup.c \
getline.c \
$(NULL)
libcairo_missing_headers = \
cairo-missing.h \
$(NULL)