leveldb: fix library install
Closes Homebrew/homebrew#14440. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
d87544c102
commit
c3ec150ed3
1 changed files with 4 additions and 6 deletions
|
@ -10,11 +10,9 @@ class Leveldb < Formula
|
|||
def install
|
||||
system "make"
|
||||
include.install "include/leveldb"
|
||||
|
||||
mv "libleveldb.dylib.1.5", "libleveldb.1.5.dylib"
|
||||
rm "libleveldb.dylib"
|
||||
ln_s "libleveldb.1.5.dylib", "libleveldb.dylib"
|
||||
|
||||
lib.install Dir["libleveldb.{a,dylib}"]
|
||||
lib.install 'libleveldb.a'
|
||||
lib.install 'libleveldb.dylib.1.5' => 'libleveldb.1.5.dylib'
|
||||
lib.install_symlink lib/'libleveldb.1.5.dylib' => 'libleveldb.dylib'
|
||||
lib.install_symlink lib/'libleveldb.1.5.dylib' => 'libleveldb.1.dylib'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue