pantry/projects/sourceware.org/libffi/package.yml
Jacob Heider 2f59341fe2 fix(ffi)
closes #5248
2024-02-26 19:07:29 -05:00

18 lines
453 B
YAML

distributable:
url: https://github.com/libffi/libffi/releases/download/v{{version}}/libffi-{{version}}.tar.gz
strip-components: 1
versions:
github: libffi/libffi/tags
build:
- ./configure --prefix={{prefix}} --disable-debug
- make --jobs {{ hw.concurrency }} install
test:
dependencies:
freedesktop.org/pkg-config: ^0.29
script:
- cc -o closure test.c $(pkg-config --libs libffi) -Wno-incompatible-pointer-types
- ./closure