glfw: add universal option
Closes Homebrew/homebrew#20320. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
29ed9dba30
commit
8079df6228
1 changed files with 3 additions and 0 deletions
|
@ -5,7 +5,10 @@ class Glfw < Formula
|
|||
url 'http://sourceforge.net/projects/glfw/files/glfw/2.7.8/glfw-2.7.8.zip'
|
||||
sha1 'b4f51221ffed0a064bb413074544a530ae2751ec'
|
||||
|
||||
option :universal
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
system 'make', "PREFIX=#{prefix}", 'cocoa-dist-install'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue