glfw@2: fix dylib ID of libglfw.dylib
the dylib ID ends up as @executable_path/libglfw.dylib unless tweaked
This commit is contained in:
parent
c62d9a7754
commit
f9947b8ca9
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ class GlfwAT2 < Formula
|
|||
|
||||
def install
|
||||
system "make", "PREFIX=#{prefix}", "cocoa-dist-install"
|
||||
MachO::Tools.change_dylib_id("#{lib}/libglfw.dylib",
|
||||
"@opt_lib/libglfw.dylib")
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue