Merge pull request #1155 from harshavardhana/verify-yasm

build: Verify yasm version and complain - fixes #1154
master
Harshavardhana 9 years ago
commit bd6850e79f
  1. 6
      buildscripts/checkdeps.sh

@ -21,6 +21,7 @@ _init() {
## Minimum required versions for build dependencies
GIT_VERSION="1.0"
YASM_VERSION="1.2.0"
CURL_VERSION="7.12.0"
GPG_VERSION="1.3"
GO_VERSION="1.5.1"
@ -192,6 +193,11 @@ check_deps() {
if [ $? -ge 2 ]; then
MISSING="${MISSING} curl"
fi
check_version "$(env yasm --version 2>/dev/null | sed 's/^.* \([0-9.]*\).*$/\1/' | head -1)" "${YASM_VERSION}"
if [ $? -ge 2 ]; then
MISSING="${MISSING} yasm(${YASM_VERSION})"
fi
}
main() {

Loading…
Cancel
Save