Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
infdivzero opened this issue Dec 8, 2022 · 0 comments

Comments

@infdivzero
Copy link

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
...
lfortner pushed a commit to lfortner/repo-community that referenced this issue Apr 1, 2023
Co-authored-by: Rohan <[email protected]>
Co-committed-by: Rohan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant