always enable debuginfo in the bundled LuaJIT 2.0 build and Lua 5.1 build to support Nginx Systemtap Toolkit.

This commit is contained in:
agentzh (Yichun Zhang)
2013-04-20 23:10:26 -07:00
parent 3a873d7874
commit 529f4c854c
3 changed files with 19 additions and 4 deletions

View File

@ -324,14 +324,18 @@ tar -xzf lua-$ver.tar.gz || exit 1
#rm "patch-lua-$ver-4" || exit 1
echo "$info_txt applying the makefile_install_fix patch for lua 5.1"
echo "$info_txt applying the makefile_install_fix patch for lua $ver"
patch -p0 < $root/patches/lua-$ver-makefile_install_fix.patch || exit 1
echo
echo "$info_txt applying the disable_lua50_compat patch for lua 5.1"
echo "$info_txt applying the disable_lua50_compat patch for lua $ver"
patch -p0 < $root/patches/lua-$ver-disable_lua50_compat.patch || exit 1
echo
echo "$info_txt applying the enable_debug_info patch for lua $ver"
patch -p0 < $root/patches/lua-$ver-enable_debug_info.patch || exit 1
echo
#################################
ver=2.0.1