mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-28 21:52:39 +00:00
- Fixes https://github.com/termux/termux-packages/issues/25363 - Add `.alternatives` file for `editor` for `helix` - Remove `$TERMUX_PREFIX/opt/helix` at the start of `termux_step_make_install()` in order to prevent errors during repeated builds
13 lines
398 B
Diff
13 lines
398 B
Diff
--- a/helix-loader/src/grammar.rs
|
|
+++ b/helix-loader/src/grammar.rs
|
|
@@ -492,6 +492,9 @@ fn build_tree_sitter_library(
|
|
|
|
command
|
|
.arg("-shared")
|
|
+ .arg("-L@TERMUX_PREFIX@/lib")
|
|
+ .arg("-Wl,-rpath=@TERMUX_PREFIX@/lib")
|
|
+ .arg("-Wno-error=implicit-int")
|
|
.arg("-fno-exceptions")
|
|
.arg("-I")
|
|
.arg(header_path)
|