Skip to content

Commit

Permalink
Include zlib linker flag if not building with the vendored one
Browse files Browse the repository at this point in the history
Apparently building with LLVM enabled includes this flag, probably
because of using `--system-libs`, so building without LLVM fails because
it can't link against zlib.
  • Loading branch information
ahmadsherif committed Nov 16, 2015
1 parent 648c186 commit 9d00a73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rakelib/blueprint.rb
Expand Up @@ -179,6 +179,8 @@
end
gcc.add_library zlib
files << zlib
else
gcc.ldflags << "-lz"
end

if Rubinius::BUILD_CONFIG[:vendor_libsodium]
Expand Down

0 comments on commit 9d00a73

Please sign in to comment.