Skip to content

Commit

Permalink
sqlite: fix build on Tiger
Browse files Browse the repository at this point in the history
  • Loading branch information
clehner authored and mistydemeo committed Jan 12, 2013
1 parent e1946a1 commit 21e5a7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Library/Formula/sqlite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ def install
ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_COLUMN_METADATA"
ENV.append 'CPPFLAGS', "-DSQLITE_ENABLE_STAT3"

# prevent 'undefined symbol _OSAtomicCompareAndSwapPtrBarrier' error
# see: http://comments.gmane.org/gmane.comp.db.sqlite.general/71258
ENV.append 'CPPFLAGS', "-DSQLITE_WITHOUT_ZONEMALLOC" if MacOS.version == :tiger

ENV.universal_binary if build.universal?

system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "--enable-dynamic-extensions"
Expand Down

0 comments on commit 21e5a7d

Please sign in to comment.