[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Embedding scripts in executable
- From: Mike Pall <mikelu-1110@...>
- Date: Tue, 4 Oct 2011 19:36:27 +0200
Tim Caswell wrote:
You're generating *.h files for the Lua files. That's not what you
want. These are meant for the case where you don't want the
symbols exported (but then you'll need to load/run them yourself).
You'll want to generate *.c files instead. These export their
symbols, which is needed for require().
[Also ... *cough* ... you may want to consider rewriting your
Makefiles. Compiling and linking in one step is generally not a
good idea. And you're not even using optimization options ...]