mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-01-12 22:51:55 +08:00
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.)
12 lines
303 B
Bash
Executable File
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
|