cfitsio: add reentrant option (#19432)
This commit is contained in:
parent
6c4fd865cf
commit
3b58ba3782
1 changed files with 5 additions and 1 deletions
|
@ -13,8 +13,12 @@ class Cfitsio < Formula
|
|||
sha256 "7681f60baee8d9a73639be3f54d7f4a1c71c9fc9f4ac7fd0e3ba20cb2a2c3c7b" => :el_capitan
|
||||
end
|
||||
|
||||
option "with-reentrant", "Build with support for concurrency"
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
args = ["--prefix=#{prefix}"]
|
||||
args << "--enable-reentrant" if build.with? "reentrant"
|
||||
system "./configure", *args
|
||||
system "make", "shared"
|
||||
system "make", "install"
|
||||
(pkgshare/"testprog").install Dir["testprog*"]
|
||||
|
|
Loading…
Reference in a new issue