7 lines
243 B
Lua
7 lines
243 B
Lua
local old_cpath = package.cpath
|
|
local cfg = require("gears.filesystem").get_configuration_dir()
|
|
package.cpath = package.cpath .. ";" .. cfg .. "quarrel/native/lib?.so"
|
|
local qnative = require "qnative"
|
|
package.cpath = old_cpath
|
|
return qnative
|