Skip to content

Commit 323613e

Browse files
committed
zstd: set CMake libzstd target to shared
1 parent f1f0f3f commit 323613e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Formula/z/zstd.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def install
4141
# https://github.com/facebook/zstd/commit/db104f6e839cbef94df4df8268b5fecb58471274
4242
# Set it to `ON` to be explicit about the configuration.
4343
system "cmake", "-S", "build/cmake", "-B", "builddir",
44+
"-DBUILD_SHARED_LIBS=ON", # set CMake libzstd target to shared
4445
"-DZSTD_PROGRAMS_LINK_SHARED=ON", # link `zstd` to `libzstd`
4546
"-DZSTD_BUILD_CONTRIB=ON",
4647
"-DCMAKE_INSTALL_RPATH=#{rpath}",

0 commit comments

Comments
 (0)