From 73d72535d96c8ccfbdb874a9379d69a0b753c27f Mon Sep 17 00:00:00 2001 From: Asger Hautop Drewsen Date: Mon, 23 Feb 2015 01:09:46 +0100 Subject: [PATCH] capstone: actually fix pkg-config references See Homebrew/homebrew#36871 and Homebrew/homebrew#36872. Closes Homebrew/homebrew#37089. Signed-off-by: Mike McQuaid --- Formula/capstone.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/capstone.rb b/Formula/capstone.rb index c022fd564a..a3ef129ce0 100644 --- a/Formula/capstone.rb +++ b/Formula/capstone.rb @@ -24,7 +24,7 @@ class Capstone < Formula # As per the above inreplace, the pkgconfig file needs fixing as well. inreplace lib/"pkgconfig/capstone.pc" do |s| s.gsub! "/usr/lib", lib - s.gsub! "/usr/include/capstone", include + s.gsub! "/usr/include/capstone", "#{include}/capstone" end end