3

I installed Lua 5.2 in my mac that's is lion, but the installation generated one archive .a in /usr/local/lib, but I need one .dylib.

I need generate a dynamic library by static library, how can I do this?

Thanks a lot.

Breno
  • 27
  • 4

1 Answers1

2

Why do you need a dylib? Anyway, you can download one from LuaBinaries.

lhf
  • 70,581
  • 9
  • 108
  • 149
  • I'm working with a program that needs a dynamic, the other libraries are dynamic to. Thanks a lot for your help. – Breno Nov 22 '12 at 17:40
  • The recipe at http://stackoverflow.com/questions/3532589/how-to-build-a-dylib-from-several-o-in-mac-os-x-using-gcc worked for me. Just remove `lua.o` and `luac.o` from the list of object files. – lhf Nov 27 '12 at 20:36