From f78a9269228f2f48e8eb496e341ef990db39c6c3 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 21 Sep 2012 08:22:55 -0300 Subject: cairo-sphinx: protect -ldl link with CAIRO_HAS_DL like in cairo-trace. Signed-off-by: Uli Schlachter --- util/cairo-sphinx/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/cairo-sphinx/Makefile.am b/util/cairo-sphinx/Makefile.am index b25bd230d..10bc10c27 100644 --- a/util/cairo-sphinx/Makefile.am +++ b/util/cairo-sphinx/Makefile.am @@ -12,7 +12,9 @@ cairo_sphinx_la_SOURCES = fdr.c cairo_sphinx_la_CPPFLAGS = $(AM_CPPFLAGS) cairo_sphinx_la_CFLAGS = $(CAIRO_CFLAGS) cairo_sphinx_la_LDFLAGS = -module -no-undefined +if CAIRO_HAS_DL cairo_sphinx_la_LIBADD = -ldl +endif cairo_sphinx_SOURCES = sphinx.c cairo_sphinx_CPPFLAGS = $(AM_CPPFLAGS) -DLIBDIR="\"$(cairolibdir)\"" -- cgit v1.2.1