aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/memcached-php.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/memcached-php.rb')
-rw-r--r--Library/Formula/memcached-php.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/memcached-php.rb b/Library/Formula/memcached-php.rb
index d3c091d5c..9ed8edee8 100644
--- a/Library/Formula/memcached-php.rb
+++ b/Library/Formula/memcached-php.rb
@@ -10,7 +10,8 @@ class MemcachedPhp < Formula
def install
Dir.chdir "memcached-#{version}" do
system "phpize"
- system "./configure", "--prefix=#{prefix}"
+ system "./configure", "--prefix=#{prefix}",
+ "--with-libmemcached-dir=#{Formula.factory('libmemcached').prefix}"
system "make"
prefix.install 'modules/memcached.so'
end