--- lgi/core.lua.orig	Fri May 27 21:56:36 2016
+++ lgi/core.lua	Tue Feb 28 11:53:21 2017
@@ -11,7 +11,7 @@
 -- This module decides what kind of core routines should be loaded.
 -- Currently only one implementation exists, standard-Lua C-side
 -- implementation, LuaJIT-FFI-based one is planned.
-local core = require 'lgi.corelgilua51'
+local core = require 'lgi.corelgilua${MODLUA_DEP_VERSION}'
 
 -- Helper methods for converting between CamelCase and uscore_delim
 -- names.
