Loading...
libsa/bootstrap.cpp xnu-792.21.3 xnu-1228
--- xnu/xnu-792.21.3/libsa/bootstrap.cpp
+++ xnu/xnu-1228/libsa/bootstrap.cpp
@@ -79,7 +79,9 @@
     add_from_mkext_function = &addExtensionsFromArchive;
     remove_startup_extension_function = &removeStartupExtension;
 
+#ifndef CONFIG_NOKLD
     kernelLinkerPresent = 1;
+#endif
 }
 
 /* The destructor frees all wired memory regions held