title: Embedding LuaJIT module into C application
body: <p>In my application, I have all the Lua libraries exposed from the C backend. Now, I have a need to load a Lua module. The method for this seems to be :</p>
  
  <pre><code>lua_getglobal(L, "require");
  lua_pushstring(L, libname);
  lua_pcall(L, 1, 0, 0);
  </code></pre>
  
  <p>which will search the <code>package.path</code> to find <code>&lt;libname&gt;.lua</code> and load it.</p>
  
  <p>Is it possible to <em>build-in</em> the Lua module into the C application (so that the module becomes part of the C application) ? so that I don't have to separately package the Lua module. Somehow I am not able to find any references or examples of this! :( </p>
  
  <p>p.s. I am using <code>LuaJIT-2.0.2</code>, and the library in question is <code>SciLua/Time</code> (uses <code>ffi</code>)</p>