hwhw/kindlepdfviewer — pull request #541 by tigran123 (2012-11-05 09:34:36+00:00)
Title: Get rid of LD_LIBRARY_PATH, LUALIBCOMPAT and package defaults.lua

1. As we use -Wl,-rpath=$(LIBDIR)/ the RPATH is hardcoded in the kpdfview binary and so there is no need to help the linker find our libraries.

2. The file defaults.lua needs to be mentioned in LUA_FILES in order to be packaged by "make customupdate".

3. The problem with the linker not finding libluajit-5.1.so.2 can be fixed without specifying the shared library in the list of objects (and static libraries), simply by making a symbolic link. No need to copy a duplicate.

Tested both on emulator and real Kindle.