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

Alexis Ballier <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
---
 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

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.