aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/desktops/enlightenment/efl/efl-elua.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/enlightenment/efl/efl-elua.patch')
-rw-r--r--nixpkgs/pkgs/desktops/enlightenment/efl/efl-elua.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/enlightenment/efl/efl-elua.patch b/nixpkgs/pkgs/desktops/enlightenment/efl/efl-elua.patch
new file mode 100644
index 00000000000..96c42b3ff3c
--- /dev/null
+++ b/nixpkgs/pkgs/desktops/enlightenment/efl/efl-elua.patch
@@ -0,0 +1,14 @@
+--- ./src/scripts/elua/core/util.lua.old 2015-05-17 11:59:57.307743243 +0200
++++ ./src/scripts/elua/core/util.lua 2015-05-17 12:39:11.906797377 +0200
+@@ -159,7 +159,10 @@
+ local ev = os.getenv("ELUA_" .. libname:upper() .. "_LIBRARY_PATH")
+ local succ, v = load_lib(libname, ev)
+ if not succ then
+- error(v, 2)
++ succ, v = load_lib(libname, "$out/lib")
++ if not succ then
++ error(v, 2)
++ end
+ end
+ lib = v
+ loaded_libs[libname] = lib