Package: eccodes / 2.21.0-1

missing-libs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Since lbpng and libaec are used, eccodes needs to link against them
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2020-10-18
Forwarded: no
  A better fix would be to make these conditional

Index: eccodes-2.21.0/CMakeLists.txt
===================================================================
--- eccodes-2.21.0.orig/CMakeLists.txt
+++ eccodes-2.21.0/CMakeLists.txt
@@ -195,7 +195,7 @@ ecbuild_add_option( FEATURE EXTRA_TESTS
 ###############################################################################
 # macro processing
 
-set( ECCODES_EXTRA_LIBRARIES    "" )
+set( ECCODES_EXTRA_LIBRARIES    png;aec )
 set( ECCODES_EXTRA_INCLUDE_DIRS "" )
 set( ECCODES_EXTRA_DEFINITIONS  "" )