diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/configure.ac.pthread | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/configure.ac.pthread b/build/configure.ac.pthread index 52033619a..29c930da9 100644 --- a/build/configure.ac.pthread +++ b/build/configure.ac.pthread @@ -135,11 +135,11 @@ dnl <program> with the given flags and libs. Execute <true-action> on dnl success and <false-action> on failure. AC_DEFUN([CAIRO_CHECK_PTHREAD],[dnl CAIRO_CC_TRY_LINK_WITH_ENV_SILENT( - [CFLAGS="$2"; - LIBS="$3"], + [CFLAGS="$CFLAGS $2"; + LIBS="$LIBS $3"], [$4], - [$1_CFLAGS="$CFLAGS"; - $1_LIBS="$LIBS"; + [$1_CFLAGS="$2"; + $1_LIBS="$3"; $5], [$1_CFLAGS=""; $1_LIBS=""; |