Skip to content

Commit

Permalink
Merge pull request #136 from ketoo/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ketoo authored Oct 24, 2018
2 parents db7e551 + 1c6b83c commit 92e92b2
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions Dependencies/build_dep.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
echo Building dependencies...

sudo apt-get install automake
sudo apt-get install zip unzip
sysOS=`uname -s`

rm -rf ./lib
mkdir -p lib/Debug/
mkdir -p lib/Release/

sudo apt-get install libssl-dev
sudo apt-get install libreadline-dev
if [ $sysOS == "Darwin" ];then
brew install libtool
brew install automake
brew install zip unzip

elif [ $sysOS == "Linux" ];then
apt-get install automake
apt-get install zip unzip

apt-get install libreadline6-dev
apt-get install libncurses5-dev
fi

#cd openssl-1.1.0h
#rm -rf *.a
#chmod -R 755 *
Expand Down Expand Up @@ -62,12 +72,10 @@ cd ../
echo Building lua...
cd lua

sysOS=`uname -s`
if [ $sysOS == "Darwin" ];then
make macosx test
elif [ $sysOS == "Linux" ];then
sudo apt-get install libreadline6-dev
sudo apt-get install libncurses5-dev

make linux test
fi

Expand Down

0 comments on commit 92e92b2

Please sign in to comment.