osquery: apply patch to fix illegal instruction.
Closes Homebrew/homebrew#35343. Closes Homebrew/homebrew#35405. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
6590fb9279
commit
79862c0230
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,12 @@ class Osquery < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
# Apply upstream commit to fix illegal hardware instruction:
|
||||
# https://github.com/facebook/osquery/commit/20259a
|
||||
# https://github.com/facebook/osquery/issues/563
|
||||
# https://github.com/Homebrew/homebrew/issues/35343
|
||||
inreplace "CMakeLists.txt", "-Wl,-all_load", "-Wl,-force_load"
|
||||
|
||||
ENV.prepend_create_path "PYTHONPATH", buildpath+"third-party/python/lib/python2.7/site-packages"
|
||||
|
||||
resources.each do |r|
|
||||
|
|
Loading…
Reference in a new issue