Ticket #283 (closed enhancement: fixed)
Opened 6 years ago
Last modified 5 years ago
[lua] create a makefile to do lua shared lib liblualib.so
| Reported by: | michaelvoliveira | Owned by: | scottmc |
|---|---|---|---|
| Priority: | normal | Milestone: | LibPak 1.0 |
| Component: | dev-lang/lua | Version: | 1.0 |
| Severity: | normal | Keywords: | lua shared lib |
| Cc: |
Description
You'll have to complete src/Makefile. Name the target, add it to the
main list, and add a build rule, like this:
LUA_SO=liblua.so
ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
$(LUA_SO): $(CORE_O) $(LIB_O)
$(CC) -o $@ -shared $?
Also in the main Makefile, have the shared library installed along
with the static one:
TO_LIB= liblua.a liblua.so
something like this
Change History
comment:1 Changed 5 years ago by augiedoggie
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Fixed in r741