Skip to content

Commit 9652b0d

Browse files
authored
dockerfile: windows: Link OpenSSL libraries correctly (#8463)
Also, we need to refer its headers correctly. Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 689afa1 commit 9652b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfiles/Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN iex ((new-object net.webclient).DownloadString('https://chocolatey.org/insta
6060
WORKDIR /src/build
6161
COPY . /src/
6262

63-
RUN cmake -G "'Visual Studio 16 2019'" -DOPENSSL_ROOT_DIR='C:\Program Files\OpenSSL-Win64' -DCMAKE_BUILD_TYPE=Release ../;`
63+
RUN cmake -G "'Visual Studio 16 2019'" -DOPENSSL_ROOT_DIR='C:\Program Files\OpenSSL-Win64\lib\VC\x64\MT' -DOPENSSL_INCLUDE_DIR='C:\Program Files\OpenSSL-Win64\include' -DCMAKE_BUILD_TYPE=Release ../;`
6464
cmake --build . --config Release;
6565

6666
# Set up config files and binaries in single /fluent-bit hierarchy for easy copy in later stage

0 commit comments

Comments
 (0)