aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mcrypt-php.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/mcrypt-php.rb')
-rw-r--r--Library/Formula/mcrypt-php.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/mcrypt-php.rb b/Library/Formula/mcrypt-php.rb
index bc78a2e43..4b2baa83d 100644
--- a/Library/Formula/mcrypt-php.rb
+++ b/Library/Formula/mcrypt-php.rb
@@ -12,7 +12,8 @@ class McryptPhp < Formula
Dir.chdir "ext/mcrypt"
system "phpize"
system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ "--prefix=#{prefix}",
+ "--with-mcrypt=#{Formula.factory('mcrypt').prefix}"
system "make"
prefix.install 'modules/mcrypt.so'
end