Skip to content

Conversation

@ezal
Copy link

@ezal ezal commented Jun 24, 2022

This PR has 3 independents commits. See the commit messages for more details. The last commit is just to signal a problem in the Makefile.

This is to avoid getting the following error:
```
/usr/bin/ld: lua.o: warning: relocation against `sqlite3_api' in read-only section `.text'
/usr/bin/ld: lua.o: relocation R_X86_64_PC32 against symbol `sqlite3_api' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
```
on Ubuntu this line gives:
```
/bin/sh: 1: [: Linux: unexpected operator
```
@abiliojr
Copy link
Owner

Thank you very much for your pull request. I am not at home right now, but as soon as I return from holidays, I will take a deeper look. Specially to the "Darwin" part. I don't have a Mac to try it, and is been many years, but I remember that something special had to be done in order to make Apple happy ;)

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

Successfully merging this pull request may close these issues.

3 participants