0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-09-22 08:31:32 +00:00
termux-packages/disabled-packages/outfieldr/build.zig.patch
Jia Yuan Lo 1cd742f6cc outfieldr: Disabled
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
2024-04-30 22:48:27 +08:00

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);