Commit 0762e076 authored by Sam Thursfield's avatar Sam Thursfield

Merge branch 'openbsd' into 'master'

libtracker-common: fix build on OpenBSD

See merge request GNOME/tracker!64
parents ff2b07c4 46175210
...@@ -30,9 +30,13 @@ else ...@@ -30,9 +30,13 @@ else
tracker_common_sources += 'tracker-parser-libunistring.c' tracker_common_sources += 'tracker-parser-libunistring.c'
endif endif
# FIXME: need to link against -lkvm on OpenBSD, see
tracker_common_dependencies = [glib, gio, gio_unix, libmath, libstemmer] tracker_common_dependencies = [glib, gio, gio_unix, libmath, libstemmer]
if build_machine.system() == 'openbsd'
libkvm = meson.get_compiler('c').find_library('kvm')
tracker_common_dependencies += libkvm
libtracker_common = library('tracker-common', libtracker_common = library('tracker-common',
tracker_common_sources, tracker_common_sources,
dependencies: tracker_common_dependencies + [unicode_library], dependencies: tracker_common_dependencies + [unicode_library],
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment