Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

manual compile lua into nginx on debian 11

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
User avatar
RvL
Posts: 1
Joined: 2022-02-07 10:02

manual compile lua into nginx on debian 11

#1 Post by RvL »

On Debian 11 by default Nginx is compiled with
--with-ld-opt='-Wl,-z,relro -Wl,-z,now -fPIC
'

For a manual compile with mod_http_lua I have to add
--with-ld-opt=-Wl,-rpath,/usr/local/LuaJIT/lib
What would be the correct syntax of these 2 combined?

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: manual compile lua into nginx on debian 11

#2 Post by LE_746F6D617A7A69 »

RvL wrote: 2022-02-07 10:16 What would be the correct syntax of these 2 combined?
There's no limit for number of "-Wl" directives used, and the linker ignores multiple occurrences of the same options - so You can simply concatenate both strings.
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

Post Reply