Files
RubyMotion/libedit.sh
Watson c47c8486df [fix #4] fix a bug in simulator which cannot launch on Snow Leopard
it will compile sim.m to refer to the /usr/lib/libedit.2.dylib at runtime.
(libedit.2.dylib is a symbolic link to libedit.3.dylib on Mountain Lion and Lion.)
2013-02-05 15:42:52 +09:00

12 lines
303 B
Bash
Executable File

#!/bin/sh
# get libedit tarball from http://opensource.apple.com/release/mac-os-x-1068/
curl -O http://opensource.apple.com/tarballs/libedit/libedit-13.tar.gz
tar xzf libedit-13.tar.gz
cd libedit-13
xcodebuild
cp build/Release/libedit.2.dylib ../bin
ln -s ../bin/libedit.2.dylib ../bin/libedit.dylib