summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-12-14 00:02:00 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-12-14 00:02:00 (GMT)
commita0dba601f9a2c39b776f22854faf542a7c5a1d8e (patch)
treea75df40a734dd58319a7cf6f8f061181976730bb /tools
parent1ebebb580f66b2e8b7049928b0ed37b7ed4ecd1a (diff)
downloadmxe-a0dba601f9a2c39b776f22854faf542a7c5a1d8e.zip
mxe-a0dba601f9a2c39b776f22854faf542a7c5a1d8e.tar.gz
mxe-a0dba601f9a2c39b776f22854faf542a7c5a1d8e.tar.bz2
install-deps: install libtool-bin on Debian Sid
See https://github.com/mxe/mxe/issues/1593
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install-deps3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/install-deps b/tools/install-deps
index 1b7b433..1047afd 100755
--- a/tools/install-deps
+++ b/tools/install-deps
@@ -19,7 +19,8 @@ if [[ "$OSTYPE" =~ "linux" ]]; then
DIST=`lsb_release -si`
REL=`lsb_release -sr`
if ( [[ $DIST =~ "Debian" ]] && (( `echo "$REL > 8" | bc -l` )) ) || \
- ( [[ $DIST =~ "Ubuntu" ]] && (( `echo "$REL > 14.10" | bc -l` )) ); then
+ ( [[ $DIST =~ "Ubuntu" ]] && (( `echo "$REL > 14.10" | bc -l` )) ) || \
+ ( [[ "$REL" == "unstable" ]] ); then
apt-get --yes install libtool-bin
fi
# install Lua for build-pkg