Build spidermonkey with utf-8 support
This commit is contained in:
parent
55e8b5582e
commit
d9d9f4c733
1 changed files with 2 additions and 2 deletions
|
@ -12,13 +12,13 @@ class Spidermonkey <Formula
|
|||
end
|
||||
|
||||
def patches
|
||||
DATA
|
||||
[DATA]
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.j1
|
||||
Dir.chdir "src" do
|
||||
system "make JS_DIST=#{HOMEBREW_PREFIX} JS_THREADSAFE=1 -f Makefile.ref"
|
||||
system "make JS_DIST=#{HOMEBREW_PREFIX} JS_THREADSAFE=1 DEFINES=-DJS_C_STRINGS_ARE_UTF8 -f Makefile.ref"
|
||||
system "make JS_DIST=#{prefix} -f Makefile.ref export"
|
||||
system "ranlib #{prefix}/lib/libjs.a"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue