Linking cgit with Lua using -Wl,-E

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


Hello,

on my system I wanted to link cgit with lua, so that lua can load the (lua)crypto.so 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 2.27.51.20161011, gcc 6.2.1 20161011 and the newest ever git.

Greetings
   Дилян


More information about the CGit mailing list