test/os/mac/pkgconfig_spec: fix libffi detection on 12.3+ SDK
This commit is contained in:
parent
7d10bfc6b3
commit
b3da8dbd24
@ -68,7 +68,7 @@ describe "pkg-config" do
|
||||
it "returns the correct version for libffi" do
|
||||
version = File.foreach("#{sdk}/usr/include/ffi/ffi.h")
|
||||
.lazy
|
||||
.grep(/^\s*libffi (\S+) - Copyright /) { Regexp.last_match(1) }
|
||||
.grep(/^\s*libffi (\S+)\s+- Copyright /) { Regexp.last_match(1) }
|
||||
.first
|
||||
|
||||
skip "Cannot detect system libffi version." if version == "PyOBJC"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user