From 83291fe8ef43debf727b16c34bbfe16e5ebfa79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branko=20=C4=8Cibej?= Date: Sat, 2 Sep 2017 17:51:18 +0200 Subject: [PATCH] apr-util: remove .la files Closes #17535. Signed-off-by: ilovezfs --- Formula/apr-util.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/apr-util.rb b/Formula/apr-util.rb index 857b0f4d65..98e3c11c42 100644 --- a/Formula/apr-util.rb +++ b/Formula/apr-util.rb @@ -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