summaryrefslogtreecommitdiff
path: root/util/cairo-sphinx/Makefile.am
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-11-02 11:56:29 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-11-02 12:01:45 +0000
commit837eb577b4707e447fafb0dfca378ecf4ea3fda5 (patch)
treee1cc62cb0e6e8195f2984cf4649570fa5c0be77d /util/cairo-sphinx/Makefile.am
parent942a15ba9e85fa3297ad6e65270928ad3c1c0a42 (diff)
sphinx: Add required pthread libs
Switching to pthread-stubs broke the build for sphinx on unbroken platforms [those that do not unnecessarily link against -lpthreads].
Diffstat (limited to 'util/cairo-sphinx/Makefile.am')
-rw-r--r--util/cairo-sphinx/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/cairo-sphinx/Makefile.am b/util/cairo-sphinx/Makefile.am
index 845888c7..adc5659e 100644
--- a/util/cairo-sphinx/Makefile.am
+++ b/util/cairo-sphinx/Makefile.am
@@ -16,14 +16,15 @@ cairo_sphinx_la_LIBADD = -ldl
cairo_sphinx_SOURCES = sphinx.c
cairo_sphinx_CPPFLAGS = $(AM_CPPFLAGS) -DLIBDIR="\"$(cairolibdir)\""
-cairo_sphinx_CFLAGS = $(CAIRO_CFLAGS) $(glib_CFLAGS)
+cairo_sphinx_CFLAGS = $(REAL_PTHREAD_CFLAGS) $(CAIRO_CFLAGS) $(glib_CFLAGS)
cairo_sphinx_LDADD = \
$(top_builddir)/util/cairo-script/libcairo-script-interpreter.la \
$(top_builddir)/boilerplate/libcairoboilerplate.la \
$(top_builddir)/src/libcairo.la \
$(glib_LIBS) \
$(CAIRO_LDADD) \
- -lrt
+ -lrt \
+ $(REAL_PTHREAD_LIBS)
cairo_sphinx_DEPENDENCIES = \
$(top_builddir)/util/cairo-script/libcairo-script-interpreter.la \
$(top_builddir)/boilerplate/libcairoboilerplate.la \