summaryrefslogtreecommitdiff
path: root/addons/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'addons/pdf')
-rw-r--r--addons/pdf/pdf.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/pdf/pdf.zig b/addons/pdf/pdf.zig
index 4704e7c7..45f1e22a 100644
--- a/addons/pdf/pdf.zig
+++ b/addons/pdf/pdf.zig
@@ -29,9 +29,8 @@ const m = @import("pdf_bridge");
const c = addon.c;
pub const pardes_addon = addon.ops(Pdf);
-// A library's one export; a static pardes reads the declaration (Addon.zig).
comptime {
- if (@import("builtin").output_mode == .Lib) @export(&pardes_addon, .{ .name = "pardes_addon" });
+ addon.exportLib(&pardes_addon);
}
const gap_px = 8; // between two pages of the strip