Commit 40b1fa12 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

lua: add libdir to lua dir list on OS/2

Installed version cannot find lua scripts.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit ff7f5020e7fad15ee8a277aab5f02bef515f3812)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 91fe611c
...@@ -213,7 +213,7 @@ int vlclua_dir_list( const char *luadirname, char ***pppsz_dir_list ) ...@@ -213,7 +213,7 @@ int vlclua_dir_list( const char *luadirname, char ***pppsz_dir_list )
i++; i++;
free( datadir ); free( datadir );
#if !(defined(__APPLE__) || defined(_WIN32) || defined(__OS2__)) #if !(defined(__APPLE__) || defined(_WIN32))
char *psz_libpath = config_GetLibDir(); char *psz_libpath = config_GetLibDir();
if( likely(psz_libpath != NULL) ) if( likely(psz_libpath != NULL) )
{ {
......
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