]> TLD Linux GIT Repositories - packages/lvm2.git/blob - dl-dlsym.patch
- updated to 2.02.181
[packages/lvm2.git] / dl-dlsym.patch
1 diff -urp LVM2.2.02.179.orig/lib/commands/toolcontext.c LVM2.2.02.179/lib/commands/toolcontext.c
2 --- LVM2.2.02.179.orig/lib/commands/toolcontext.c       2018-06-26 11:40:23.355840745 +0000
3 +++ LVM2.2.02.179/lib/commands/toolcontext.c    2018-06-26 11:47:16.136816141 +0000
4 @@ -1438,6 +1438,7 @@ int lvm_register_segtype(struct segtype_
5         return 1;
6  }
7  
8 +#ifdef HAVE_LIBDL
9  static int _init_single_segtype(struct cmd_context *cmd,
10                                 struct segtype_library *seglib)
11  {
12 @@ -1455,6 +1456,7 @@ static int _init_single_segtype(struct c
13  
14         return lvm_register_segtype(seglib, segtype);
15  }
16 +#endif
17  
18  static int _init_segtypes(struct cmd_context *cmd)
19  {