mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
[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:
5
kodev
5
kodev
@@ -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