summaryrefslogtreecommitdiff
path: root/src/Addon.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Addon.zig')
-rw-r--r--src/Addon.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Addon.zig b/src/Addon.zig
index 030da7d4..04cffcb9 100644
--- a/src/Addon.zig
+++ b/src/Addon.zig
@@ -178,8 +178,7 @@ var nfound: usize = 0;
/// addon's module and the PDF's C, its `pardes_addon` renamed. A static
/// binary cannot dlopen, and macOS's loader has no memfd: this is how
/// either has image and PDF panes.
-const compiled_in: []const *const Kind.Ops = if (@import("builtin_addons").on) &.{ &@import("image_addon").pardes_addon, &pardes_addon_pdf } else &.{};
-extern const pardes_addon_pdf: Kind.Ops;
+const compiled_in: []const *const Kind.Ops = if (@import("builtin_addons").on) &.{ &@import("image_addon").pardes_addon, &@import("pdf_addon").pardes_addon } else &.{};
/// The addons compiled in, as if loaded (`builtin` their path); else every
/// library of the two directories, in name order each, the user's first. A