[vlc-commits] lua: add libdir to lua dir list on OS/2

KO Myung-Hun git at videolan.org
Sun Sep 28 17:26:19 CEST 2014


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Sat Sep 27 09:04:57 2014 +0000| [ff7f5020e7fad15ee8a277aab5f02bef515f3812] | committer: Jean-Baptiste Kempf

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

Installed version cannot find lua scripts.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff7f5020e7fad15ee8a277aab5f02bef515f3812
---

 modules/lua/vlc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c
index eac7724..df235d0 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -213,7 +213,7 @@ int vlclua_dir_list( const char *luadirname, char ***pppsz_dir_list )
         i++;
     free( datadir );
 
-#if !(defined(__APPLE__) || defined(_WIN32) || defined(__OS2__))
+#if !(defined(__APPLE__) || defined(_WIN32))
     char *psz_libpath = config_GetLibDir();
     if( likely(psz_libpath != NULL) )
     {



More information about the vlc-commits mailing list