darktable-org/darktable — pull request #531 by mazhe (2014-04-21 11:47:23+00:00)
Title: When building with an external Lua, set the link directories.

pkg-config probably just declared lib as "-llua-52", we need the -L argument when building against a lua installed into something other than /usr.

(this is useful when building on platforms like BSDs, probably MacOS X with sytems like MacPorts, Fink, etc)