mirror of https://github.com/xemu-project/xemu.git
Avoid errors when curl-config does not exist
Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
00070396b0
commit
523685522b
|
@ -1073,7 +1073,7 @@ if test "$curl" = "yes" ; then
|
|||
#include <curl/curl.h>
|
||||
int main(void) { return curl_easy_init(); }
|
||||
EOF
|
||||
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
|
||||
curl=yes
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue