[PATCH 2/2] cairo-sphinx: 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-sphinx/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/cairo-sphinx/Makefile.am b/util/cairo-sphinx/Makefile.am index b25bd23..10bc10c 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)\"" -- 1.7.12 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo