Commit 4e4a4393 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

LUA: look in $(pkglibdir)/lua

This should fix FHS conformance for .luac files
parent dda9df40
...@@ -178,6 +178,12 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname, ...@@ -178,6 +178,12 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname,
free( psz_datapath ); free( psz_datapath );
} }
#if !(defined(__APPLE__) || defined(SYS_BEOS) || defined(WIN32))
if( likely(asprintf( &ppsz_dir_list[i], "%s"DIR_SEP"lua"DIR_SEP"%s",
config_GetLibDir(), luadirname ) != -1) )
i++;
#endif
ppsz_dir_list[i] = NULL; ppsz_dir_list[i] = NULL;
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment