Эх сурвалжийг харах

Merge branch 'master' of git+ssh://openadk.org/git/openadk

Waldemar Brodkorb 15 жил өмнө
parent
commit
1177dd5a06
1 өөрчлөгдсөн 4 нэмэгдсэн , 2 устгасан
  1. 4 2
      scripts/scan-pkgs.sh

+ 4 - 2
scripts/scan-pkgs.sh

@@ -95,8 +95,10 @@ fi
 
 if [[ -n $NEED_CURLDEV ]];then
 	if ! test -f /usr/include/curl/curl.h >/dev/null; then
-		echo >&2 You need curl headers to build $NEED_CURLDEV
-		out=1
+		if ! test -f /usr/local/include/curl/curl.h >/dev/null; then
+			echo >&2 You need curl headers to build $NEED_CURLDEV
+			out=1
+		fi
 	fi
 fi