From 8079df62289b3640192a9c518f4e127f2efcce7a Mon Sep 17 00:00:00 2001 From: Hector Dearman Date: Fri, 7 Jun 2013 03:55:01 +0100 Subject: [PATCH] glfw: add universal option Closes Homebrew/homebrew#20320. Signed-off-by: Jack Nagel --- Formula/glfw.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/glfw.rb b/Formula/glfw.rb index c0cac79ac7..c1f919e6a3 100644 --- a/Formula/glfw.rb +++ b/Formula/glfw.rb @@ -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