raku-community-modules / Linenoise

Linenoise bindings for Raku
MIT License
15 stars 6 forks source link

Fixes issues with lib name generation #19

Closed ugexe closed 7 years ago

ugexe commented 7 years ago

This fixes a problem where automatic library name generation is used, but part of the generated library name is hardcoded else- where. This resulted in the build failing on windows, because the hardcoded portion was not applicapable.

Note that while this allows Linenoise to be installed on windows once again, it still does not work properly. This is because libs that get installed have their file names mangled, but I think the linenoise.dll file needs to have the same name? (some missing symbol error gets thrown). OpenSSL had this problem, which it works around with lib/OpenSSL/NativeLib.pm6

hoelzro commented 7 years ago

@ugexe Thanks!