From mboxrd@z Thu Jan 1 00:00:00 1970 From: dpa-cgit at aegee.org (=?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?=) Date: Sun, 16 Oct 2016 07:30:08 +0200 Subject: Linking cgit with Lua using -Wl,-E Message-ID: <7dcc34c2-6494-137b-79cb-0a3eb664e49a@aegee.org> 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 ?????