lua: remove universal build.

Closes #9381.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Chongyu Zhu 2017-01-30 01:52:57 +08:00 committed by Mike McQuaid
parent a9152cf599
commit 9ce1e5b653

View file

@ -20,7 +20,6 @@ class Lua < Formula
satisfy { HOMEBREW_PREFIX.to_s == "/usr/local" } satisfy { HOMEBREW_PREFIX.to_s == "/usr/local" }
end end
option :universal
option "with-completion", "Enables advanced readline support" option "with-completion", "Enables advanced readline support"
option "without-sigaction", "Revert to ANSI signal instead of improved POSIX sigaction" option "without-sigaction", "Revert to ANSI signal instead of improved POSIX sigaction"
option "without-luarocks", "Don't build with Luarocks support embedded" option "without-luarocks", "Don't build with Luarocks support embedded"
@ -53,8 +52,6 @@ class Lua < Formula
end end
def install def install
ENV.universal_binary if build.universal?
# Subtitute formula prefix in `src/Makefile` for install name (dylib ID). # Subtitute formula prefix in `src/Makefile` for install name (dylib ID).
# Use our CC/CFLAGS to compile. # Use our CC/CFLAGS to compile.
inreplace "src/Makefile" do |s| inreplace "src/Makefile" do |s|