Skip to content

Commit e2238c8

Browse files
committed
[PGPRO-6463]: Fixed lib path and include path for zstd.
1 parent 01c075b commit e2238c8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/helpers/dependencies.cmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,18 @@ CD ../..
5050
rem Not working on 1.4.4, problem with /p:OutDir: fatal error LNK1181: cannot open input file 'libzstd.lib' for fullbench-dll.vcxproj
5151
rem call build/VS_Scripts/build.VS%REDIST_YEAR%.cmd || GOTO :ERROR
5252

53+
5354
MKDIR %DEPENDENCIES_BIN_DIR%\zstd
5455
cp lib\zstd.h %DEPENDENCIES_BIN_DIR%\zstd
56+
MKDIR %DEPENDENCIES_BIN_DIR%\zstd\include
57+
MKDIR %DEPENDENCIES_BIN_DIR%\zstd\lib
58+
cp lib\zstd.h %DEPENDENCIES_BIN_DIR%\zstd\include
5559
if %ARCH% == X86 (
5660
cp -va build/VS2010/bin/Win32_Release/libzstd* %DEPENDENCIES_BIN_DIR%\zstd
61+
cp -va build/VS2010/bin/Win32_Release/libzstd* %DEPENDENCIES_BIN_DIR%\zstd\lib
5762
) else (
5863
cp -va build/VS2010/bin/x64_Release/libzstd* %DEPENDENCIES_BIN_DIR%\zstd
64+
cp -va build/VS2010/bin/x64_Release/libzstd* %DEPENDENCIES_BIN_DIR%\zstd\lib
5965
)
6066
7z a -r %DOWNLOADS_DIR%\%DEPS_ZIP% %DEPENDENCIES_BIN_DIR%\zstd
6167

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy