mirror of https://github.com/KLayout/klayout.git
Added -libcurl to build.sh for building with libcurl.
This commit is contained in:
parent
6edb5b9f3e
commit
2c86c96fbb
7
build.sh
7
build.sh
|
|
@ -26,6 +26,7 @@ IS_MAC="no"
|
||||||
HAVE_QTBINDINGS=1
|
HAVE_QTBINDINGS=1
|
||||||
HAVE_64BIT_COORD=0
|
HAVE_64BIT_COORD=0
|
||||||
HAVE_QT5=""
|
HAVE_QT5=""
|
||||||
|
HAVE_CURL=""
|
||||||
|
|
||||||
RUBYINCLUDE=""
|
RUBYINCLUDE=""
|
||||||
RUBYINCLUDE2=""
|
RUBYINCLUDE2=""
|
||||||
|
|
@ -153,6 +154,9 @@ while [ "$*" != "" ]; do
|
||||||
-dry-run)
|
-dry-run)
|
||||||
RUN_MAKE=0
|
RUN_MAKE=0
|
||||||
;;
|
;;
|
||||||
|
-libcurl)
|
||||||
|
HAVE_CURL=1
|
||||||
|
;;
|
||||||
-option)
|
-option)
|
||||||
MAKE_OPT="$MAKE_OPT $1"
|
MAKE_OPT="$MAKE_OPT $1"
|
||||||
shift
|
shift
|
||||||
|
|
@ -199,6 +203,8 @@ while [ "$*" != "" ]; do
|
||||||
echo " -pylib <file> Location of the .so/.dll to link for Python support"
|
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 " -pyinc <dir> Location of the Python headers (in particular 'Python.h')"
|
||||||
echo ""
|
echo ""
|
||||||
|
echo " -libcurl Use libcurl instead of QNetwork (for Qt<4.7)"
|
||||||
|
echo ""
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
@ -539,6 +545,7 @@ qmake_options=(
|
||||||
HAVE_QTBINDINGS="$HAVE_QTBINDINGS"
|
HAVE_QTBINDINGS="$HAVE_QTBINDINGS"
|
||||||
HAVE_64BIT_COORD="$HAVE_64BIT_COORD"
|
HAVE_64BIT_COORD="$HAVE_64BIT_COORD"
|
||||||
HAVE_QT5="$HAVE_QT5"
|
HAVE_QT5="$HAVE_QT5"
|
||||||
|
HAVE_CURL="$HAVE_CURL"
|
||||||
PREFIX="$BIN"
|
PREFIX="$BIN"
|
||||||
RPATH="$RPATH"
|
RPATH="$RPATH"
|
||||||
KLAYOUT_VERSION="$KLAYOUT_VERSION"
|
KLAYOUT_VERSION="$KLAYOUT_VERSION"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue