kiss-community / community

Officially unofficial KISS community repository, mirror of https://codeberg.org/kiss-community/community
https://kisscommunity.org
MIT License
48 stars 34 forks source link

Make INSTALL_LMOD and INSTALL_CMOD consistent with LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h #1284

Open infdivzero opened 1 year ago

infdivzero commented 1 year ago

The Lua package installs where it's supposed to but it still looks for modules under /usr/local. An easy fix in the build script:

#!/bin/sh -e

sed -i "s|/usr/local|/usr|g" "src/luaconf.h"

make YCFLAGS="$CFLAGS -fPIC" \
     MYLDFLAGS="$LDFLAGS" \
     posix
...