aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authordwenegar <simone.livieri@gmail.com>2018-02-15 08:16:26 +0900
committerHisham Muhammad <hisham@gobolinux.org>2018-02-14 21:16:26 -0200
commit5022dc08eb9a7a70fcb96a1197ac73674a17b401 (patch)
treedd9ac86ee0ff8082bd4f87febc48b79395138723 /spec
parent155c4878708988674444abc2a2920b785980bd77 (diff)
downloadluarocks-5022dc08eb9a7a70fcb96a1197ac73674a17b401.tar.gz
luarocks-5022dc08eb9a7a70fcb96a1197ac73674a17b401.tar.bz2
luarocks-5022dc08eb9a7a70fcb96a1197ac73674a17b401.zip
Fix .def generation on Windows. (#767)
According to the Lua's manual: > Once it finds a C library, this searcher first uses a dynamic link facility to link the application with the library. Then it tries to find a C function inside the library to be used as the loader. The name of this C function is the string "luaopen_" concatenated with a copy of the module name where each dot is replaced by an underscore. Moreover, if the module name has a hyphen, its prefix up to (and including) the first hyphen is removed. For instance, if the module name is a.v1-b.c, the function name will be luaopen_b_c.
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions