We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f0f3f commit 323613eCopy full SHA for 323613e
Formula/z/zstd.rb
@@ -41,6 +41,7 @@ def install
41
# https://github.com/facebook/zstd/commit/db104f6e839cbef94df4df8268b5fecb58471274
42
# Set it to `ON` to be explicit about the configuration.
43
system "cmake", "-S", "build/cmake", "-B", "builddir",
44
+ "-DBUILD_SHARED_LIBS=ON", # set CMake libzstd target to shared
45
"-DZSTD_PROGRAMS_LINK_SHARED=ON", # link `zstd` to `libzstd`
46
"-DZSTD_BUILD_CONTRIB=ON",
47
"-DCMAKE_INSTALL_RPATH=#{rpath}",
0 commit comments