summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-09-13 12:32:14 +0200
committerBastien Nocera <hadess@hadess.net>2021-09-13 12:32:14 +0200
commit244e858a8619c6ff061e06f2cd9d9c6880ce9ea2 (patch)
tree4eb66860e5c5f03d1afa073fdbcc4cf2487e3457
parent98be7dd216cb3b4559e6c1300ba1f30faf07eca4 (diff)
build: Fix libplist 1.x builds
When libplist-2.0 isn't available, fallback to requiring libplist 1.x to build the iDevice support.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 2e3ffc7..fe0497b 100644
--- a/meson.build
+++ b/meson.build
@@ -76,7 +76,7 @@ if os_backend == 'linux'
if idevice_dep.found()
plist_dep = dependency('libplist-2.0', required: false)
if not plist_dep.found()
- plist_dep = dependency(libplist)
+ plist_dep = dependency('libplist', required: true)
endif
cdata.set10('HAVE_IDEVICE', true)
endif