Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-03-21 16:03:34 +0300
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-03-21 16:03:34 +0300
commiteba1542c51348d318005484e068b60a6f85753d0 (patch)
tree84f99e66821a2efd31a7a2c3a13719d988b6e054 /configure.ac
parentcb8c63e08d5486ebdc998478433759f95e3faa8c (diff)
PR bootstrap/48120:
* configure.ac (pwllib): Use LIBS instead of LDFLAGS. Add -lstdc++ -lm to LIBS. * configure: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 233ce0a76..e036b5f50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1677,10 +1677,10 @@ fi
if test "x$with_ppl" != xno; then
if test "x$pwllib" = x; then
- saved_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $ppllibs"
- AC_CHECK_LIB(pwl,PWL_handle_timeout,[pwllib="-lpwl"])
- LDFLAGS="$saved_LDFLAGS"
+ saved_LIBS="$LIBS"
+ LIBS="$LIBS $ppllibs -lstdc++ -lm"
+ AC_CHECK_LIB(pwl, PWL_handle_timeout, [pwllib="-lpwl"])
+ LIBS="$saved_LIBS"
fi
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"