22 Apr 2012 15:29
mac osx
Nathan Gass <xabbu <at> trizeps.ch>
2012-04-22 13:29:44 GMT
2012-04-22 13:29:44 GMT
Hello List Quite new to luakit but hoping to use it a lot in the near future. To build luakit on Mac OSX (Lion + XCode4) I had to do the following changes (in https://github.com/xabbu42/luakit/tree/macosx): 1. Add a implementation of clock_gettime 2. Remove --export-dynamic from LDFLAGS In both cases the actual patch is probably not the right thing. If microsecond precision is enough, the simplest solution to clock_gettime would be to just use the more portable gettimeofday. Anyway, the current solution is from http://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x and probably quite a bit slower. The LDFLAGS patch does no longer respect the LDFLAGS set in the environment, which imho is wrong. Appreciate any input and can make pull request as soon as this is mergable. Greetings Nathan Gass
RSS Feed