summaryrefslogtreecommitdiff
path: root/media-libs/lcms/files/lcms-2.15-meson-samples.patch
blob: 0b451c3922efffdae238e65357b30c215676fdfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
https://github.com/mm2/Little-CMS/pull/362

From 8849dd87ae44216b56c48db2b441f3906e085596 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Thu, 2 Mar 2023 11:54:46 +0000
Subject: [PATCH] Fix compiling the samples using meson

--- a/utils/samples/meson.build
+++ b/utils/samples/meson.build
@@ -5,7 +5,7 @@ wtpt_srcs = files(
 wtpt_exe = executable(
   'wtpt',
   wtpt_srcs,
-  dependencies: [liblcms2_dep, common_dep],
+  dependencies: [liblcms2_dep, common_dep, m_dep],
 )
 
 wtpt_man = files(
@@ -28,6 +28,6 @@ foreach exe, srcs : examples
   executable(
     exe,
     srcs,
-    dependencies: [liblcms2_dep],
+    dependencies: [liblcms2_dep, m_dep],
   )
 endforeach