diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-16 10:07:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-16 10:07:07 +0100 |
commit | 14d6c3e054da89e47fc82ea29a708290eefe1357 (patch) | |
tree | 5b347db855aa76d8a15a3aeeb6d448fb26da9bd4 | |
parent | c3df7e6d58364f883d91567757ed999ea88e10ca (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.
-rw-r--r-- | configure.ac | 1 |
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 =========================================================================== |