Support AWS tables on macOS (#6817)

This commit is contained in:
Sharvil Shah 2020-12-31 07:41:51 +05:30 committed by GitHub
parent e083dbe839
commit c6671fe189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -41,7 +41,7 @@ function(generateOsqueryTablesTableimplementations)
)
endif()
if(OSQUERY_BUILD_AWS AND (DEFINED PLATFORM_LINUX OR DEFINED PLATFORM_WINDOWS))
if(OSQUERY_BUILD_AWS)
target_link_libraries(osquery_tables_tableimplementations INTERFACE
osquery_tables_cloud_aws
)

View File

@ -6,7 +6,7 @@
# SPDX-License-Identifier: (Apache-2.0 OR GPL-2.0-only)
function(osqueryTablesCloudMain)
if(OSQUERY_BUILD_AWS AND (DEFINED PLATFORM_LINUX OR DEFINED PLATFORM_WINDOWS))
if(OSQUERY_BUILD_AWS)
generateOsqueryTablesCloudAws()
endif()

View File

@ -309,9 +309,9 @@ function(generateNativeTables)
endif()
if(OSQUERY_BUILD_AWS)
list(APPEND platform_dependent_spec_files
"linwin/ec2_instance_metadata.table:linux,windows"
"linwin/ec2_instance_tags.table:linux,windows"
list(APPEND platform_independent_spec_files
"ec2_instance_metadata.table"
"ec2_instance_tags.table"
)
endif()