From 3c11c85e19dcfe73c7d6ed6e8eb4d5f3a48e89e2 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 10 Apr 2009 11:46:36 +0200 Subject: Silly workaround for searching plugins in lib64 paths --- vfs/UVFSCore.pas | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas index 6cd1114..aaa3b49 100644 --- a/vfs/UVFSCore.pas +++ b/vfs/UVFSCore.pas @@ -170,6 +170,9 @@ const ConstGlobalModulePath1 = '/usr/lib/tuxcmd'; ConstLocalModulePath1 = '~/.tuxcmd/plugins'; ConstLocalModulePath2 = './plugins'; ConstLocalModulePath3 = '../lib/tuxcmd'; + ConstGlobalModulePath3 = '/usr/lib64/tuxcmd'; + ConstGlobalModulePath4 = '/usr/local/lib64/tuxcmd'; + ConstLocalModulePath4 = '../lib64/tuxcmd'; ConstVFSVersionRequired = cVFSVersion; @@ -1090,6 +1093,11 @@ begin QueryModules(ConstLocalModulePath1); QueryModules(ConstLocalModulePath2); QueryModules(ConstLocalModulePath3); +{$IFDEF CPU64} + QueryModules(ConstGlobalModulePath3); + QueryModules(ConstGlobalModulePath4); + QueryModules(ConstLocalModulePath4); +{$ENDIF} end; end; -- cgit v1.2.3