[eog: 9/11] build: Simplify jpegutils source file
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog: 9/11] build: Simplify jpegutils source file
- Date: Wed, 29 Dec 2021 14:45:58 +0000 (UTC)
commit bca6f2e62feb26250161db43d263e114c7bf95db
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Wed Oct 27 11:54:03 2021 +0200
build: Simplify jpegutils source file
`jpegutils` choose between two different source files based on the
features it supports. This have been simplified.
jpegutils/meson.build | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/jpegutils/meson.build b/jpegutils/meson.build
index ce4bfd5c..8f8c42a0 100644
--- a/jpegutils/meson.build
+++ b/jpegutils/meson.build
@@ -1,12 +1,6 @@
-if have_jpeg_80
- sources = files('transupp-8a.c')
-else
- sources = files('transupp-6b.c')
-endif
-
libjpegutils = static_library(
'eog-jpegutils',
- sources: sources,
+ sources: 'transupp-@0@.c'.format(have_jpeg_80 ? '8a' : '6b'),
include_directories: top_inc,
dependencies: libjpeg_dep,
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]