diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-09-21 08:22:55 -0300 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2012-10-08 22:00:31 +0200 |
commit | f78a9269228f2f48e8eb496e341ef990db39c6c3 (patch) | |
tree | a5b74a02ee3660649440f7ca22819bd6ef5cf760 | |
parent | 3d2712d56a22f2a86fb80da94c3e55be8d26a330 (diff) | |
download | cairo-f78a9269228f2f48e8eb496e341ef990db39c6c3.tar.gz |
cairo-sphinx: protect -ldl link with CAIRO_HAS_DL like in cairo-trace.
Signed-off-by: Uli Schlachter <psychon@znc.in>
-rw-r--r-- | util/cairo-sphinx/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
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)\"" |