summaryrefslogtreecommitdiff
path: root/util/cairo-sphinx
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-03-31 16:19:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-03-31 16:20:13 +0100
commit00101fa71614fb48de436d6618e26353cf44ef95 (patch)
tree232a0d1ea957e5514ea7b1b079aab6987eb7ec36 /util/cairo-sphinx
parenta81d347c2484e60ceec1d9dc81e1b88724496eaf (diff)
downloadcairo-00101fa71614fb48de436d6618e26353cf44ef95.tar.gz
configure: check -lrt for shm_open()
OS/X includes shm_open() in libc, and fails to link if -lrt is specified. So perform the appropriate configure time magic.
Diffstat (limited to 'util/cairo-sphinx')
-rw-r--r--util/cairo-sphinx/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cairo-sphinx/Makefile.am b/util/cairo-sphinx/Makefile.am
index 66a2e3cbc..2b1abbfc6 100644
--- a/util/cairo-sphinx/Makefile.am
+++ b/util/cairo-sphinx/Makefile.am
@@ -23,7 +23,7 @@ cairo_sphinx_LDADD = \
$(top_builddir)/src/libcairo.la \
$(glib_LIBS) \
$(CAIRO_LDADD) \
- -lrt \
+ $(shm_LIBS) \
$(real_pthread_LIBS)
cairo_sphinx_DEPENDENCIES = \
$(top_builddir)/util/cairo-script/libcairo-script-interpreter.la \