Added -libcurl to build.sh for building with libcurl.

This commit is contained in:
Matthias Koefferlein 2018-05-01 08:21:11 +02:00
parent 6edb5b9f3e
commit 2c86c96fbb
1 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,7 @@ IS_MAC="no"
HAVE_QTBINDINGS=1
HAVE_64BIT_COORD=0
HAVE_QT5=""
HAVE_CURL=""
RUBYINCLUDE=""
RUBYINCLUDE2=""
@ -153,6 +154,9 @@ while [ "$*" != "" ]; do
-dry-run)
RUN_MAKE=0
;;
-libcurl)
HAVE_CURL=1
;;
-option)
MAKE_OPT="$MAKE_OPT $1"
shift
@ -199,6 +203,8 @@ while [ "$*" != "" ]; do
echo " -pylib <file> Location of the .so/.dll to link for Python support"
echo " -pyinc <dir> Location of the Python headers (in particular 'Python.h')"
echo ""
echo " -libcurl Use libcurl instead of QNetwork (for Qt<4.7)"
echo ""
exit 0
;;
*)
@ -539,6 +545,7 @@ qmake_options=(
HAVE_QTBINDINGS="$HAVE_QTBINDINGS"
HAVE_64BIT_COORD="$HAVE_64BIT_COORD"
HAVE_QT5="$HAVE_QT5"
HAVE_CURL="$HAVE_CURL"
PREFIX="$BIN"
RPATH="$RPATH"
KLAYOUT_VERSION="$KLAYOUT_VERSION"