lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Anyone know how to write a in order to generate a .so Lua
module?  Here's what I've got so far:

INCLUDES = -I$(srcdir)/include -I/usr/include/lua5.1
LIBS = -shared

libtest_la_SOURCES = src/test.cpp

While it does produces the shared library, it's less than desirable.
It builds a and a with as a
symlink.  Ideally, I'd actually have just, but autotools
complains bitterly since such a name doesn't have "lib" or ".la" in
the name.  I'm wondering if anyone else has tried this.