mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
keg: create subdirectories of lib/lua
instead of symlinks
Some formulae (e.g. `luv`) have a `lib/lua/5.1` subdirectory inside
their keg. Before this change, the `5.1` subdirectory is symlinked into
`HOMEBREW_PREFIX`.
This can result in `luarocks` installing things into a formula's keg,
which we don't want.
Let's fix that by making sure that `brew link` creates these
subdirectories instead of symlinking them. We already do this for
subdirectories of `share/lua`:
8dd96ae8ba/Library/Homebrew/keg.rb (L430)
This commit is contained in:
parent
8dd96ae8ba
commit
0780d06015
@ -446,7 +446,7 @@ class Keg
|
||||
/^gdk-pixbuf/,
|
||||
"ghc",
|
||||
/^gio/,
|
||||
"lua",
|
||||
/^lua/,
|
||||
/^mecab/,
|
||||
/^node/,
|
||||
/^ocaml/,
|
||||
|
Loading…
x
Reference in New Issue
Block a user