[pacman-dev,2/3] meson: pacman-conf add missing libcommon link

Message ID 20201223224224.1434521-2-emil.l.velikov@gmail.com
State Accepted, archived
Headers show
Series [pacman-dev,1/3] meson: replace objects with link_whole | expand

Commit Message

Emil Velikov Dec. 23, 2020, 10:42 p.m. UTC
Currently, we are erroneously exporting all the symbols via the
libalpm.so. As such, the libcommon dependency is resolved.

The libalpm.so exports are about to be resolved shortly, yet that
exposed that pacman-conf is missing a link against libcommon.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meson.build b/meson.build
index fd573826..380564bb 100644
--- a/meson.build
+++ b/meson.build
@@ -346,7 +346,7 @@  executable(
   'pacman-conf',
   pacman_conf_sources,
   include_directories : includes,
-  link_with : [libalpm],
+  link_with : [libalpm, libcommon],
   dependencies : [libarchive],
   install : true,
 )