network/luakit: Add Malloc=1 to ENV.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Marek Šrejma 2022-10-05 22:15:11 +01:00 committed by Willy Sudiarto Raharjo
parent 75ed925c50
commit 5b76d99ce8
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=luakit
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
LUAJIT=${LUAJIT:-0} # 0 or 1
@ -80,6 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -e 's#(PREFIX)/lib/luakit#(LIBDIR)#g' -i Makefile
sed -e "/^Exec=/ s/lua/env Malloc=1 lua/" -i extras/luakit.desktop
_CFLAGS=`grep CFLAGS config.mk | sed -e "s/CFLAGS\s*+=//g" | tr "\n" " "`
make install \