Fix bad install names in executables
Signed-off-by: Jack Nagel <jacknagel@gmail.com>master
parent
409aa2fa78
commit
2223e8fc75
|
@ -12,13 +12,10 @@ class Libspotify < Formula
|
|||
doc.install %w(ChangeLog README LICENSE licenses.xhtml examples)
|
||||
man3.install Dir['man3/*']
|
||||
|
||||
cd lib
|
||||
ln_s "libspotify.12.1.51.dylib", "libspotify.dylib"
|
||||
ln_s "libspotify.12.1.51.dylib", "libspotify.12.dylib"
|
||||
|
||||
system "install_name_tool", "-id",
|
||||
"#{HOMEBREW_PREFIX}/lib/libspotify.12.1.51.dylib",
|
||||
"libspotify.dylib"
|
||||
lib.cd do
|
||||
ln_s "libspotify.12.1.51.dylib", "libspotify.dylib"
|
||||
ln_s "libspotify.12.1.51.dylib", "libspotify.12.dylib"
|
||||
end
|
||||
|
||||
(lib+'pkgconfig/libspotify.pc').write pc_content
|
||||
end
|
||||
|
|
|
@ -13,7 +13,5 @@ class Notmuch < Formula
|
|||
# requires a newer emacs than OS X provides, so disable the bindings
|
||||
system "./configure", "--prefix=#{prefix}", "--without-emacs"
|
||||
system "make install"
|
||||
system "install_name_tool", "-change", "libnotmuch.2.dylib",
|
||||
"#{lib}/libnotmuch.2.dylib", "#{bin}/notmuch"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,5 @@ class V8 < Formula
|
|||
prefix.install 'include'
|
||||
lib.install 'libv8.dylib'
|
||||
bin.install 'shell' => 'v8'
|
||||
|
||||
system "install_name_tool", "-change", "libv8.dylib", "#{lib}/libv8.dylib", "#{bin}/v8"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue