]> TLD Linux GIT Repositories - packages/lvm2.git/blob - dl-dlsym.patch
- updated to 2.03.05
[packages/lvm2.git] / dl-dlsym.patch
1 diff -urp LVM2.2.03.00.orig/lib/commands/toolcontext.c LVM2.2.03.00/lib/commands/toolcontext.c
2 --- LVM2.2.03.00.orig/lib/commands/toolcontext.c        2018-10-21 14:34:49.832416609 +0000
3 +++ LVM2.2.03.00/lib/commands/toolcontext.c     2018-10-21 14:34:56.826416609 +0000
4 @@ -1298,6 +1298,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 @@ -1315,6 +1316,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  {