summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-16 10:07:07 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-16 10:07:07 +0100
commit14d6c3e054da89e47fc82ea29a708290eefe1357 (patch)
tree5b347db855aa76d8a15a3aeeb6d448fb26da9bd4 /configure.ac
parentc3df7e6d58364f883d91567757ed999ea88e10ca (diff)
configure: Include PTHREAD_CFLAGS in CAIRO_LDFLAGS
Required for successful linking of our programs. I am not sure what the impact this has upon other users of Cairo yet, I think we need to export the PTHREAD_CFLAGS via cairo.pc as well.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 86c26ff21..dc54b588b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,6 +54,7 @@ if test "x$have_pthread" = xno -a "x$use_pthread" = xyes; then
AC_MSG_ERROR([pthread requested but not found])
fi
CAIRO_CFLAGS="$CAIRO_CFLAGS $PTHREAD_CFLAGS"
+CAIRO_LDFLAGS="$PTHREAD_CFLAGS $CAIRO_LDFLAGS"
CAIRO_LIBS="$CAIRO_LIBS $PTHREAD_LIBS"
dnl ===========================================================================