]> TLD Linux GIT Repositories - packages/lvm2.git/blob - dl-dlsym.patch
- fixed post/postun broken by PLD merge
[packages/lvm2.git] / dl-dlsym.patch
1 diff -urp LVM2.2.02.177.orig/lib/commands/toolcontext.c LVM2.2.02.177/lib/commands/toolcontext.c
2 --- LVM2.2.02.177.orig/lib/commands/toolcontext.c       2018-01-26 15:13:17.000000000 +0000
3 +++ LVM2.2.02.177/lib/commands/toolcontext.c    2018-01-26 16:38:04.214235565 +0000
4 @@ -1455,6 +1455,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 @@ -1472,6 +1473,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  {