Lua: Ensure liblua.dylib is created

Adding versionless soft link in INSTALL_LIB to allow linking with -llua (see
homebrew issue Homebrew/homebrew#6350 for an example) (Related to name change in commit
9228a05f98).

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

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
master
Pop Qvarnström 2011-09-08 23:02:07 +02:00 committed by Charlie Sharpsteen
parent 62b6971635
commit c73ffcc32b
1 changed files with 2 additions and 1 deletions

View File

@ -64,11 +64,12 @@ index 6e78f66..6b48d2b 100644
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)