Package: eccodes / 2.21.0-1

ecbuild.patch Patch series | download
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
Index: eccodes-2.21.0/cmake/ecbuild_check_os.cmake
===================================================================
--- eccodes-2.21.0.orig/cmake/ecbuild_check_os.cmake
+++ eccodes-2.21.0/cmake/ecbuild_check_os.cmake
@@ -266,7 +266,7 @@ if( UNIX )
       # If this is the case for the current linker, disable checking for dynamic symbols
       # See https://sourceware.org/bugzilla/show_bug.cgi?id=20535
 
-      set( _linker_check_srcdir "${ECBUILD_MACROS_DIR}/../check_linker" )
+      set( _linker_check_srcdir "/usr/share/ecbuild/check_linker" )
       if( NOT EXISTS ${_linker_check_srcdir} ) # ecbuild source dir
         set( _linker_check_srcdir "${ECBUILD_MACROS_DIR}/../share/ecbuild/check_linker" )
       endif()
Index: eccodes-2.21.0/cmake/ecbuild_install_project.cmake
===================================================================
--- eccodes-2.21.0.orig/cmake/ecbuild_install_project.cmake
+++ eccodes-2.21.0/cmake/ecbuild_install_project.cmake
@@ -197,7 +197,7 @@ macro( ecbuild_install_project )
     # Find the ecbuild linker check files and include in the source package if found
     find_path( ECBUILD_LINKCHECK_DIR dso1.c
                PATHS ${ECBUILD_MACROS_DIR}/../check_linker
-                     ${ECBUILD_MACROS_DIR}/../share/ecbuild/check_linker )
+                     /usr/share/ecbuild/check_linker )
 
     mark_as_advanced( ECBUILD_LINKCHECK_DIR )