File: memfs.patch

package info (click to toggle)
eccodes 2.44.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 424,920 kB
  • sloc: cpp: 163,053; ansic: 26,308; sh: 21,530; f90: 6,854; perl: 6,363; python: 5,087; java: 2,226; javascript: 1,427; yacc: 854; fortran: 543; lex: 359; makefile: 288; xml: 183; awk: 66
file content (21 lines) | stat: -rw-r--r-- 760 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: eccodes-2.41.0/memfs/CMakeLists.txt
===================================================================
--- eccodes-2.41.0.orig/memfs/CMakeLists.txt
+++ eccodes-2.41.0/memfs/CMakeLists.txt
@@ -48,7 +48,15 @@ if( CMAKE_C_COMPILER_ID MATCHES Cray )
 endif()
 
 if( HAVE_MEMFS )
-    ecbuild_add_library(TARGET    eccodes_memfs
+  ecbuild_add_library(TARGET    eccodes_memfs
+    VERSION 0
+    CFLAGS ${CFLAGS}
+                        SOURCES   ${generated_c_files}
+                        GENERATED ${generated_c_files})
+  ecbuild_add_library(TARGET    eccodes_memfs_static
+    VERSION 0
+    CFLAGS ${CFLAGS}
+    TYPE static 
                         SOURCES   ${generated_c_files}
                         GENERATED ${generated_c_files})
 endif()