[cairo] [PATCH 1/2] cairo-fdr: protect -ldl link with CAIRO_HAS_DL like in cairo-trace.

Alexis Ballier aballier at gentoo.org
Fri Sep 21 04:22:54 PDT 2012


---
 util/cairo-fdr/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/cairo-fdr/Makefile.am b/util/cairo-fdr/Makefile.am
index 5cd5798..34215a6 100644
--- a/util/cairo-fdr/Makefile.am
+++ b/util/cairo-fdr/Makefile.am
@@ -10,4 +10,6 @@ cairo_fdr_la_SOURCES = fdr.c
 cairo_fdr_la_CPPFLAGS = $(AM_CPPFLAGS)
 cairo_fdr_la_CFLAGS = $(CAIRO_CFLAGS)
 cairo_fdr_la_LDFLAGS = -module -no-undefined
+if CAIRO_HAS_DL
 cairo_fdr_la_LIBADD = -ldl
+endif
-- 
1.7.12



More information about the cairo mailing list