mirror of https://github.com/BOINC/boinc.git
fixed handling of curl-libs to avoid erroneous trunction of compiler-flags
containing '-l', such as '-funroll-loops'. These are not really supposed to be contained in "curl-config --libs", but apparently this happens at least in Gentoo, as reported here: http://bugs.gentoo.org/show_bug.cgi?id=139621. I have applied the patch supplied by Darragh Bailey (of 2006-07-07). This should fix Gentoo Bugzilla Bug 139621. svn path=/trunk/boinc/; revision=13919
This commit is contained in:
parent
e8c2a2927a
commit
4089ad11ca
|
@ -9706,3 +9706,12 @@ David 20 Oct 2007
|
|||
client/
|
||||
cs_platforms.C
|
||||
log_flags.C,h
|
||||
|
||||
Reinhard 21 Oct 2007
|
||||
- configure.ac: fixed handling of curl-libs to avoid erroneous trunction of compiler-flags
|
||||
containing '-l', such as '-funroll-loops'. These are not really supposed to be contained in
|
||||
"curl-config --libs", but apparently this happens at least in Gentoo, as reported here:
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=139621.
|
||||
I have applied the patch supplied by Darragh Bailey (of 2006-07-07).
|
||||
This should fix Gentoo Bugzilla Bug 139621.
|
||||
configure.ac
|
||||
|
|
|
@ -271,7 +271,7 @@ ERROR: could not find (recent enough) development-libs for libcurl.
|
|||
## add libcurl et al. to the list of statically linked libs
|
||||
STATIC_LIB_LIST="${STATIC_LIB_LIST} curl idn crypto ssl krb5 k5crypto gssapi_krb5 com_err resolv"
|
||||
CPPFLAGS="${CPPFLAGS} ${LIBCURL_CPPFLAGS}"
|
||||
CURL_LIB_PATHS=`echo $LIBCURL | sed 's/-l[[^ ]]*//g'`
|
||||
CURL_LIB_PATHS=`echo $LIBCURL | sed 's/[^[a-zA-Z]]*-l[^ ]*//g'`
|
||||
LDFLAGS="$CURL_LIB_PATHS $LDFLAGS"
|
||||
|
||||
if test "${enable_debug}" = yes; then
|
||||
|
|
Loading…
Reference in New Issue