diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-08-30 16:16:04 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-09-02 12:27:13 +0200 |
commit | 6d6bfbd641bbb4de62df704e724e507a7e55b883 (patch) | |
tree | 9a1b624ce3c02b59c67865f6743caf37b86ed2cb /util/cairo-missing/Makefile.am | |
parent | 0101a545793291d0fe76b765ba8392ade5faa1a1 (diff) |
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
...
Diffstat (limited to 'util/cairo-missing/Makefile.am')
-rw-r--r-- | util/cairo-missing/Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/util/cairo-missing/Makefile.am b/util/cairo-missing/Makefile.am new file mode 100644 index 00000000..c8d6ccdf --- /dev/null +++ b/util/cairo-missing/Makefile.am @@ -0,0 +1,10 @@ +include $(top_srcdir)/util/cairo-missing/Makefile.sources + +AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src + +lib_LTLIBRARIES = libcairo-missing.la + +libcairo_missing_la_SOURCES = \ + $(libcairo_missing_sources) \ + $(libcairo_missing_headers) \ + $(NULL) |