The following diff allows the compilation and link...
# macos
z
The following diff allows the compilation and linking... Is this something allowable?
Copy code
diff --git a/osquery/tables/CMakeLists.txt b/osquery/tables/CMakeLists.txt
index a05e7243..5ef17f09 100644
--- a/osquery/tables/CMakeLists.txt
+++ b/osquery/tables/CMakeLists.txt
@@ -28,6 +28,8 @@ if(APPLE)
   ADD_OSQUERY_LINK_ADDITIONAL("-framework OpenDirectory")
   ADD_OSQUERY_LINK_ADDITIONAL("-framework DiskArbitration")
   ADD_OSQUERY_LINK_ADDITIONAL("-framework ServiceManagement")
+  ADD_OSQUERY_LINK_ADDITIONAL("-F /System/Library/PrivateFrameworks/")
+  ADD_OSQUERY_LINK_ADDITIONAL("-framework DiskManagement")

   ADD_OSQUERY_LINK_ADDITIONAL("libresolv.dylib")
   ADD_OSQUERY_LINK_ADDITIONAL("libxar.dylib")