1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

core: add constant WEECHAT_EXTRA_LIBDIR

This commit is contained in:
Sébastien Helleu
2017-07-05 19:56:41 +02:00
parent d626fe9b09
commit 94cd1b037f
5 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -1041,7 +1041,7 @@ plugin_auto_load (int argc, char **argv,
/* auto-load plugins in WEECHAT_EXTRA_LIBDIR environment variable */
if (load_from_extra_lib_dir)
{
extra_libdir = getenv ("WEECHAT_EXTRA_LIBDIR");
extra_libdir = getenv (WEECHAT_EXTRA_LIBDIR);
if (extra_libdir && extra_libdir[0])
{
length = strlen (extra_libdir) + 16 + 1;