[fix] Prevent double library loads (#5607)
As per @NiLuJe's suggestions from <https://github.com/koreader/koreader/pull/5598#issuecomment-554767891>. I'm not super happy with this but being able to easily run the emulator is the most important thing.
This commit is contained in:
1 parent
50878eab9e
commit
afd277901a
1 file changed
+4
-1
@@ -100,7 +100,10 @@ function setup_env() {
|
||||
fi
|
||||
files=$(find . -maxdepth 1 -name 'koreader-emulator-*' | ${SETUP_ENV_GREP_COMMAND})/koreader
|
||||
assert_ret_zero $? "Emulator not found. Please build it first."
|
||||
export EMU_DIR=${files[0]}
|
||||
EMU_DIR=${files[0]}
|
||||
export EMU_DIR
|
||||
LD_LIBRARY_PATH=$(realpath "${EMU_DIR}")/libs:${LD_LIBRARY_PATH}
|
||||
export LD_LIBRARY_PATH
|
||||
}
|
||||
|
||||
function kodev-fetch-thirdparty() {
|
||||
|
||||
Reference in new issue
Block a user