For the record, this works for me without error:
(executable
(name lib)
(libraries threads)
(flags (:standard -noautolink -cclib -lunix -cclib -lthreadsnat))
(foreign_stubs (language c) (names libwrap))
(modes (native object)))
For the record, this works for me without error:
(executable
(name lib)
(libraries threads)
(flags (:standard -noautolink -cclib -lunix -cclib -lthreadsnat))
(foreign_stubs (language c) (names libwrap))
(modes (native object)))