Skip to content

Commit

Permalink
out_s3: bin: Link Shell32.lib for SHCreateDirecotryEx API
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Jun 4, 2024
1 parent 222ac4f commit 92710e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
10 changes: 0 additions & 10 deletions plugins/out_s3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,4 @@ set(src
s3_store.c
s3_multipart.c)

set(libs "")

if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
set(libs
${libs}
Shell32.lib
Shlwapi.lib)
endif()

FLB_PLUGIN(out_s3 "${src}" "")
target_link_libraries(flb-plugin-out_s3 ${libs})
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ if(FLB_SYSTEM_WINDOWS)
"ws2_32.lib"
"crypt32.lib"
"Bcrypt.lib"
"Shell32.lib"
"Shlwapi.lib"
)
else()
Expand Down

0 comments on commit 92710e0

Please sign in to comment.