termux-packages/packages/outfieldr/build.zig.patch

12 lines
352 B
Diff
Raw Normal View History

2022-01-25 14:13:33 +01:00
--- 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);