aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmemcached.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/libmemcached.rb')
-rw-r--r--Library/Formula/libmemcached.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/libmemcached.rb b/Library/Formula/libmemcached.rb
index 456849fd7..88ceeefb8 100644
--- a/Library/Formula/libmemcached.rb
+++ b/Library/Formula/libmemcached.rb
@@ -8,9 +8,7 @@ class Libmemcached < Formula
depends_on 'memcached'
def install
- if MACOS_VERSION < 10.6
- ENV.append_to_cflags "-undefined dynamic_lookup"
- end
+ ENV.append_to_cflags "-undefined dynamic_lookup" if MacOS.leopard?
system "./configure", "--prefix=#{prefix}"
system "make install"