Ticket #2173: lua-5.1.1-install-1.patch

File lua-5.1.1-install-1.patch, 1.1 KB (added by Luca, 18 years ago)

Install the shared library along with the static and fixes install to use install insted of cp

  • lua-5.1.1/Makefile

    Submitted By: Luca Piol <liliana.perossa at fastwebnet dot it>
    Date: 2006-10-04
    Initial Package Version: 5.1.1
    Upstream Status: Not submitted
    Origin: Lua list <lua@bazar2.conectiva.com.br>
    Description: Install the shared library along with the static library;
    also fixes install process to use install insted of cp.
    
    diff -Naur lua-5.1.1/Makefile lua-5.1.1/Makefile
    old new  
    2222# How to install. You may prefer "install" instead of "cp" if you have it.
    2323# To remove debug information from binaries, use "install -s" in INSTALL_EXEC.
    2424#
    25 INSTALL_EXEC= $(CP)
    26 INSTALL_DATA= $(CP)
    27 #INSTALL_EXEC= $(INSTALL) -m 0755
    28 #INSTALL_DATA= $(INSTALL) -m 0644
     25#INSTALL_EXEC= $(CP)
     26#INSTALL_DATA= $(CP)
     27INSTALL_EXEC= $(INSTALL) -m 0755
     28INSTALL_DATA= $(INSTALL) -m 0644
    2929
    3030# Utilities.
    3131CP= cp
     
    4242# What to install.
    4343TO_BIN= lua luac
    4444TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
    45 TO_LIB= liblua.a
     45TO_LIB= liblua.a liblua.so
    4646TO_MAN= lua.1 luac.1
    4747
    4848# Lua version and release.