note need of pkg-config in missing ffi.h error
This commit is contained in:
parent
339bc8ced6
commit
3e713a6fc2
@ -225,7 +225,7 @@ DEF_FREE(ffiFn) { dec(((BoundFn*)x)->obj); }
|
|||||||
#error "Only FFI=0 and FFI=2 are supported"
|
#error "Only FFI=0 and FFI=2 are supported"
|
||||||
#endif
|
#endif
|
||||||
#if !__has_include(<ffi.h>)
|
#if !__has_include(<ffi.h>)
|
||||||
#error "<ffi.h> not found. Either install libffi, or add 'FFI=0' as a make argument to disable •FFI"
|
#error "<ffi.h> not found. Either install libffi and pkg-config, or add 'FFI=0' as a make argument to disable •FFI"
|
||||||
#endif
|
#endif
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <ffi.h>
|
#include <ffi.h>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user