Skip to content

Commit

Permalink
configure: Include PTHREAD_CFLAGS in CAIRO_LDFLAGS
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Chris Wilson committed May 16, 2010
1 parent c3df7e6 commit 14d6c3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===========================================================================
Expand Down

0 comments on commit 14d6c3e

Please sign in to comment.