From b4574a735966ba8b3c82a234c11803e47be0839f Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Tue, 3 Mar 2015 21:14:35 +0800 Subject: [PATCH] fix crash on kindle --- reader.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/reader.lua b/reader.lua index 7864b68fd..fa3441d89 100755 --- a/reader.lua +++ b/reader.lua @@ -18,11 +18,6 @@ ffi.cdef[[ ]] if ffi.os == "Windows" then ffi.C._putenv("PATH=libs;common;") -else - ffi.C.putenv("LD_LIBRARY_PATH=" - .. util.realpath("libs") .. ":" - .. util.realpath("common") ..":" - .. ffi.string(ffi.C.getenv("LD_LIBRARY_PATH"))) end local DocSettings = require("docsettings")