Subject: Linking cgit with Lua using -Wl,-E
Date: Sun, 16 Oct 2016 07:30:08 +0200 [thread overview]
Message-ID: <7dcc34c2-6494-137b-79cb-0a3eb664e49a@aegee.org> (raw)
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
?????
next reply other threads:[~2016-10-16 5:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-16 5:30 [this message]
2016-10-16 11:55 ` john
2016-10-21 7:54 `
2016-10-23 15:55 ` john
2016-11-06 10:13 `
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7dcc34c2-6494-137b-79cb-0a3eb664e49a@aegee.org \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).