From 14d6c3e054da89e47fc82ea29a708290eefe1357 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 16 May 2010 10:07:07 +0100 Subject: [PATCH] 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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 ===========================================================================