radare2/sys/swig.sh
pancake 2415d86fd6 * Added sys/ in order to ease build, deps and python /cc @hteso
* Some fixes in r_magic api to make r_lang/perl compile
2011-09-10 02:19:06 +02:00

14 lines
250 B
Bash
Executable File

#!/bin/sh
# find root
cd `dirname $PWD/$0`
if [ -x /opt/local/bin/port ]; then
sudo port install i386-mingw32-gcc
elif [ -x /usr/bin/pacman ]; then
sudo pacman -S swig
elif [ -x /usr/bin/apt-get ]; then
sudo apt-get install swig
fi
:>.mark_swig