apr-util: remove .la files

Closes #17535.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Branko Čibej 2017-09-02 17:51:18 +02:00 committed by ilovezfs
parent 70d05df21f
commit 83291fe8ef

View file

@ -3,6 +3,7 @@ class AprUtil < Formula
homepage "https://apr.apache.org/"
url "https://www.apache.org/dyn/closer.cgi?path=apr/apr-util-1.6.0.tar.bz2"
sha256 "8474c93fa74b56ac6ca87449abe3e155723d5f534727f3f33283f6631a48ca4c"
revision 1
bottle do
sha256 "8bfcb9021f0f213ced509efb5afb7851eb28c33d624acf17bb5121e3a71ff36f" => :sierra
@ -46,6 +47,9 @@ class AprUtil < Formula
system "make", "install"
bin.install_symlink Dir["#{libexec}/bin/*"]
rm Dir[libexec/"lib/*.la"]
rm Dir[libexec/"lib/apr-util-1/*.la"]
# No need for this to point to the versioned path.
inreplace libexec/"bin/apu-1-config", libexec, opt_libexec
end