The static linking schema can be used on all versions of SWI-Prolog. The feature/2 predicate may be used to find out what other linking methods are provided for this version.
.DLL
files by means of open_dll/2 and
friends. See section 5.4.
If either the feature open_shared_object or dll
is true, the library library(shlib) provides a common
interface for loading foreign files from Prolog.