]> git.pld-linux.org Git - packages/ettercap.git/blob - ettercap-shlib_ext.patch
rebuild with openssl 3.0.0
[packages/ettercap.git] / ettercap-shlib_ext.patch
1 diff --git a/include/ec_os_mingw.h b/include/ec_os_mingw.h
2 index 51b8ca9..2741e39 100644
3 --- a/include/ec_os_mingw.h
4 +++ b/include/ec_os_mingw.h
5 @@ -163,7 +163,7 @@ EC_API_EXTERN const char *ec_win_get_ec_dir (void);
6   */
7  #if !defined(HAVE_DLOPEN)
8     #define RTLD_NOW 0
9 -   #define LTDL_SHLIB_EXT       "*.dll"
10 +   #define LT_MODULE_EXT       ".dll"
11  
12     #define dlopen(dll,flg)      ec_win_dlopen (dll, flg)
13     #define lt_dlopen(dll)       ec_win_dlopen (dll, 0)
14 diff --git a/src/ec_plugins.c b/src/ec_plugins.c
15 index 88c3c46..ffe16c5 100644
16 --- a/src/ec_plugins.c
17 +++ b/src/ec_plugins.c
18 @@ -131,7 +131,7 @@ int plugin_filter(struct dirent *d)
19  int plugin_filter(const struct dirent *d)
20  #endif
21  {
22 -   if ( match_pattern(d->d_name, PLUGIN_PATTERN LTDL_SHLIB_EXT) )
23 +   if ( match_pattern(d->d_name, PLUGIN_PATTERN LT_MODULE_EXT) )
24        return 1;
25  
26     return 0;
This page took 0.068258 seconds and 3 git commands to generate.