aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/zathura-cb/files/patch-meson.build
blob: 80473bacb48281c27ad96a6e8683864034defd0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- meson.build.orig	2025-10-28 17:47:54 UTC
+++ meson.build
@@ -18,9 +18,8 @@ cairo = dependency('cairo')
 girara = dependency('girara-gtk3')
 glib = dependency('glib-2.0')
 cairo = dependency('cairo')
-libarchive = dependency('libarchive')
 
-build_dependencies = [zathura, girara, glib, cairo, libarchive]
+build_dependencies = [zathura, girara, glib, cairo]
 
 if get_option('plugindir') == ''
   plugindir = zathura.get_variable(pkgconfig: 'plugindir')
@@ -60,6 +59,7 @@ cb = shared_module('cb',
   sources,
   dependencies: build_dependencies,
   c_args: defines + flags,
+  link_args: ['-larchive'],
   install: true,
   install_dir: plugindir
 )