mirror of
https://github.com/extism/extism.git
synced 2026-01-09 13:57:55 -05:00
This includes three fixes: * link static library by absolute path (should fix static linking on Mac/ with `lld`) * link static library with `-framework Security` on Mac * link `libpthread` , this should be a no-op on systems with modern libc, but should fix static linking on systems with glibc pre 2.34 see https://developers.redhat.com/articles/2021/12/17/why-glibc-234-removed-libpthread and error http://www.cpantesters.org/cpan/report/669fdfc8-25a4-11ef-9502-51fb6d8775ea --------- Co-authored-by: zach <zachshipko@gmail.com> Co-authored-by: zach <zach@dylibso.com>
11 lines
275 B
PkgConfig
11 lines
275 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=${prefix}/lib
|
|
includedir=${prefix}/include
|
|
Version: 1.0.0
|
|
Name: Extism
|
|
Description: The framework for building with WebAssembly (wasm).
|
|
Libs: ${libdir}/libextism.a
|
|
Libs.private: -lm -lpthread
|
|
Cflags: -I${includedir}
|