HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Back to Query
  • Next Ticket →

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

Fixed in r741

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/