>From ba2a1b407691cdb661115ab67153022b29ba9413 Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <komh78@gmail.com>
Date: Sat, 27 Sep 2014 09:04:57 +0000
Subject: [PATCH] lua: add libdir to lua dir list on OS/2

Installed version cannot find lua scripts.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit ff7f5020e7fad15ee8a277aab5f02bef515f3812)

Signed-off-by: KO Myung-Hun <komh@chollian.net>
---
 modules/lua/vlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c
index 6f9b505..ad1084a 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -215,7 +215,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) )
     {
-- 
1.7.3.2

