Linking cgit with Lua using -Wl,-E

Дилян Палаузов dpa-cgit at
Sun Oct 16 07:30:08 CEST 2016


on my system I wanted to link cgit with lua, so that lua can load the (lua) module.  For this to work the symbol lua_gettop has to be exported by cgit.  I managed this by passing "-Wl,-E" to the linker, when compiling cgit.

I use ld, gcc 6.2.1 20161011 and the newest ever git.


More information about the CGit mailing list