diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2020-08-04 11:38:02 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2020-08-11 07:46:49 +0000 |
commit | eee4bb846038e4440ffc8a591869974639c72bb0 (patch) | |
tree | 1a46dfc8a0686a83cd4435a7e57c6af228f079ba /metadata | |
parent | ca8a77fee7281093395a1b6c15cb1c21a9fb739a (diff) | |
download | gvfs-eee4bb846038e4440ffc8a591869974639c72bb0.tar.gz |
build: Link libgvfscommon to libmetadata
`gvfsd-metadata` uses the `gvfs_randomize_string` function by
including `gvfsutils.h` header file from `libgvfscommon`. However,
the library is not linked, only the directory is included.
This has been fixed by linking `libgvfscommon` to `libmetadata`.
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/meson.build | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/metadata/meson.build b/metadata/meson.build index 4e120d18..056979c8 100644 --- a/metadata/meson.build +++ b/metadata/meson.build @@ -47,6 +47,7 @@ sources = files( deps = [ gio_dep, glib_dep, + libgvfscommon_dep, ] cflags = [ @@ -58,7 +59,7 @@ cflags = [ libmetadata = static_library( 'metadata', sources: sources + [dbus_sources], - include_directories: [top_inc, common_inc], + include_directories: top_inc, dependencies: deps + [gio_unix_dep], c_args: cflags, pic: true, @@ -71,10 +72,7 @@ libmetadata_dep = declare_dependency( link_with: libmetadata, ) -deps = [ - libgvfscommon_dep, - libmetadata_dep, -] +deps = [libmetadata_dep] if enable_gudev deps += gudev_dep @@ -104,10 +102,7 @@ if enable_devel_utils app, app + '.c', include_directories: top_inc, - dependencies: [ - libgvfscommon_dep, - libmetadata_dep, - ], + dependencies: libmetadata_dep, c_args: cflags, ) endforeach |