tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Lua modules with differing extensions
Hello,
Whilst working on Lua extensions in pkgsrc, alnsn@ highlighted a issue
that might be worth raising (I'm not a Lua developer so posting here
for feedback by those who are better informed).
On OS X some Lua modules end up with a .dylib extension, by default
Lua only looks for modules with .so extension in its search path. Can
Lua be set to accommodate native shared library file extensions?
% ~/pkg/bin/lua5.3
Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> return package.cpath
/Users/sme/pkg/lib/lua/5.3/?.so;/Users/sme/pkg/lib/lua/5.3/loadall.so;./?.so
Sevan
Home |
Main Index |
Thread Index |
Old Index