diff options
author | dwenegar <simone.livieri@gmail.com> | 2018-02-15 08:16:26 +0900 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-03-12 21:06:58 -0300 |
commit | 37a2c165d6e4c5097352dc71b11fb918ff1d5434 (patch) | |
tree | 582537ddeadacf63299c30bc5114b4ed7b93bf25 /.busted | |
parent | beb4e60108f14a87a58edcddace5187d31896d38 (diff) | |
download | luarocks-37a2c165d6e4c5097352dc71b11fb918ff1d5434.tar.gz luarocks-37a2c165d6e4c5097352dc71b11fb918ff1d5434.tar.bz2 luarocks-37a2c165d6e4c5097352dc71b11fb918ff1d5434.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 '.busted')
0 files changed, 0 insertions, 0 deletions