aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTojek Anselm2010-10-17 08:52:14 -0700
committerAdam Vandenberg2010-11-02 06:56:51 -0700
commit7fa3251feeb64bd7424673b52a6d1afdeb93c2bf (patch)
tree6f45058342e3dd792eeab4e919081485e2d6cc3f /Library
parent144ea5853c6da09f71f6e3111a2a0d4243448dab (diff)
downloadhomebrew-7fa3251feeb64bd7424673b52a6d1afdeb93c2bf.tar.bz2
sqlite --universal option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sqlite.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb
index 250271b2e..d7bd8a78a 100644
--- a/Library/Formula/sqlite.rb
+++ b/Library/Formula/sqlite.rb
@@ -7,10 +7,12 @@ class Sqlite <Formula
def options
[["--with-rtree", "Enables the R*Tree index module"]]
+ [["--universal", "Build a universal binary."]]
end
def install
ENV.append "CFLAGS", "-DSQLITE_ENABLE_RTREE=1" if ARGV.include? "--with-rtree"
+ ENV.universal_binary if ARGV.include? "--universal"
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking"
system "make install"