apr-util: use opt_lib/opt_include helpers

This commit is contained in:
Dominyk Tiller 2015-10-23 23:59:48 +01:00
parent 6e6187e832
commit e16b88fe5d

View file

@ -42,8 +42,8 @@ class AprUtil < Formula
if build.with? "openldap"
args << "--with-ldap"
args << "--with-ldap-lib=#{Formula["openldap"].opt_prefix}/lib"
args << "--with-ldap-include=#{Formula["openldap"].opt_prefix}/include"
args << "--with-ldap-lib=#{Formula["openldap"].opt_lib}"
args << "--with-ldap-include=#{Formula["openldap"].opt_include}"
end
system "./configure", *args