-js option sets up -static and selects kernel

based on querying opam share directory