aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPop Qvarnstròˆm2011-09-08 23:02:07 +0200
committerCharlie Sharpsteen2011-09-15 12:14:19 -0700
commit99d7889c959bdb82dbbf8e202063280c0a093d71 (patch)
tree61a04f02030ae7c334631be02579a14ae2290a00
parentbbce3c57aa34a2e558ed38d4704981f89ba86cf0 (diff)
downloadhomebrew-99d7889c959bdb82dbbf8e202063280c0a093d71.tar.bz2
Lua: Ensure liblua.dylib is created
Adding versionless soft link in INSTALL_LIB to allow linking with -llua (see homebrew issue #6350 for an example) (Related to name change in commit 9228a05f98). Fixes #7642. Fixes #6648. Closes #7561. Closes #7517. Closes #6235. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
-rw-r--r--Library/Formula/lua.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb
index 914ef7fef..1830bd28e 100644
--- a/Library/Formula/lua.rb
+++ b/Library/Formula/lua.rb
@@ -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)