Commit 52368552 authored by Paul Brook's avatar Paul Brook
Browse files

Avoid errors when curl-config does not exist

Signed-off-by: default avatarPaul Brook <>
parent 00070396
......@@ -1073,7 +1073,7 @@ if test "$curl" = "yes" ; then
#include <curl/curl.h>
int main(void) { return curl_easy_init(); }
curl_libs=`curl-config --libs`
curl_libs=`curl-config --libs 2>/dev/null`
if $cc $ARCH_CFLAGS $curl_libs -o $TMPE $TMPC > /dev/null 2> /dev/null ; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment