Browse Source

d/lua: Rebuilt with -fPIC.

current-20200608
Damien Goutte-Gattat 5 months ago
parent
commit
63a75bbfb5
  1. 4
      d/lua/lua.SlackBuild

4
d/lua/lua.SlackBuild

@ -32,7 +32,7 @@ WGET=${WGET:-http://www.lua.org/ftp/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-lua}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -75,7 +75,7 @@ sed -i 's,^#define LUA_ROOT.*$,#define LUA_ROOT "/usr/",' src/luaconf.h
if [ "x$ARCH" = xx86_64 ]; then
sed -i 's,"lib/lua/","lib64/lua/",' src/luaconf.h
fi
make linux INSTALL_TOP=/usr INSTALL_LIB=/usr/lib$LIBDIRSUFFIX MYLIBS=-ltermcap
make linux INSTALL_TOP=/usr INSTALL_LIB=/usr/lib$LIBDIRSUFFIX MYLIBS=-ltermcap MYCFLAGS=-fPIC
make install INSTALL_TOP=$PKG/usr \
INSTALL_LIB=$PKG/usr/lib$LIBDIRSUFFIX \
INSTALL_CMOD=$PKG/usr/lib$LIBDIRSUFFIX/lua/5.3

Loading…
Cancel
Save