mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-23 01:07:10 +00:00
10 lines
414 B
Bash
10 lines
414 B
Bash
#!/usr/bin/env sh
|
|
|
|
# For further details see:
|
|
# https://github.com/termux/termux-packages/issues/22328
|
|
# https://github.com/termux/termux-packages/wiki/Common-porting-problems#android-dynamic-linker
|
|
# https://github.com/android/ndk/issues/201
|
|
#
|
|
# Shim to properly expose LuaJIT runtime symbols to dynamically linked plugin modules
|
|
LD_PRELOAD="$LD_PRELOAD:$PREFIX/lib/libluajit.so" exec "$PREFIX/libexec/nvim" "$@"
|