mirror of
https://github.com/termux/termux-packages.git
synced 2024-09-22 08:31:32 +00:00
1cd742f6cc
Existing android outfieldr 1.0.3 "tldr --update" is broken. Tried these solutions but do not fix the issue: Rebuild with musl Rebuild using latest commit in 20231010 Cannot build with latest zig 0.12.0 Hence, retire this package indefinitely. %ci:no-build
12 lines
352 B
Diff
12 lines
352 B
Diff
--- a/build.zig
|
|
+++ b/build.zig
|
|
@@ -24,6 +24,8 @@
|
|
const exe = b.addExecutable("tldr", "src/main.zig");
|
|
exe.setTarget(target);
|
|
exe.setBuildMode(mode);
|
|
+ exe.addLibPath("@TERMUX_PREFIX@/lib");
|
|
+ exe.linkSystemLibraryName("c++_shared");
|
|
exe.install();
|
|
exe.setOutputDir("bin");
|
|
exe.addOptions("build_options", options);
|