Skip to content

Commit

Permalink
lua-{5.2,5.3}: fixup dylib symlink names on Darwin
Browse files Browse the repository at this point in the history
Hopefully; I didn't test it.
#6311 (comment)
  • Loading branch information
vcunat committed Mar 9, 2017
1 parent e7ce27f commit d56e596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/lua-5/5.2.darwin.patch
Expand Up @@ -15,8 +15,8 @@ index d2c7db4..dc107b3 100644
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.${version}.dylib $(INSTALL_LIB)/liblua.${majorVersion}.dylib
+ ln -s -f liblua.${majorVersion}.dylib $(INSTALL_LIB)/liblua.dylib
+ ln -s -f liblua.${version}.dylib $(INSTALL_LIB)/liblua.${luaversion}.dylib
+ ln -s -f liblua.${luaversion}.dylib $(INSTALL_LIB)/liblua.dylib

uninstall:
cd src && cd $(INSTALL_BIN) && $(RM) $(TO_BIN)
Expand Down

0 comments on commit d56e596

Please sign in to comment.