mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
Do not use dllimport in glog on Windows (#6008)
Use osquery/logger.h instead of including glog headers. Reduce warnings about locally defined and imported symbols.
This commit is contained in:
parent
11ae5a21b0
commit
e80af8953e
@ -62,6 +62,7 @@ osquery_cxx_library(
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
":to",
|
||||
osquery_target("osquery/logger:logger"),
|
||||
osquery_target("osquery/utils/expected:expected"),
|
||||
osquery_tp_target("boost"),
|
||||
osquery_tp_target("glog"),
|
||||
|
@ -41,6 +41,7 @@ function(generateOsqueryUtilsConversions)
|
||||
|
||||
target_link_libraries(osquery_utils_conversions PUBLIC
|
||||
osquery_cxx_settings
|
||||
osquery_logger
|
||||
osquery_utils_conversions_to
|
||||
osquery_utils_expected
|
||||
thirdparty_boost
|
||||
|
@ -9,8 +9,7 @@
|
||||
#include <codecvt>
|
||||
#include <string>
|
||||
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include <osquery/logger.h>
|
||||
#include <osquery/utils/conversions/windows/strings.h>
|
||||
|
||||
namespace osquery {
|
||||
|
Loading…
Reference in New Issue
Block a user