Skip to content

Commit

Permalink
Lua: Ensure liblua.dylib is created
Browse files Browse the repository at this point in the history
Adding versionless soft link in INSTALL_LIB to allow linking with -llua (see
homebrew issue Homebrew#6350 for an example) (Related to name change in commit
9228a05).

Fixes Homebrew#7642.
Fixes Homebrew#6648.
Closes Homebrew#7561.
Closes Homebrew#7517.
Closes Homebrew#6235.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
  • Loading branch information
popq authored and Sharpie committed Sep 15, 2011
1 parent bbce3c5 commit 99d7889
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Formula/lua.rb
Expand Up @@ -64,11 +64,12 @@ def install
TO_MAN= lua.1 luac.1

# Lua version and release.
@@ -64,6 +64,7 @@ install: dummy
@@ -64,6 +64,8 @@ install: dummy
cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
+ ln -s -f liblua.5.1.4.dylib $(INSTALL_LIB)/liblua.5.1.dylib
+ ln -s -f liblua.5.1.dylib $(INSTALL_LIB)/liblua.dylib

ranlib:
cd src && cd $(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
Expand Down

0 comments on commit 99d7889

Please sign in to comment.