summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2009-04-10 11:46:36 +0200
committerTomas Bzatek <tbzatek@redhat.com>2009-04-10 11:46:36 +0200
commit3c11c85e19dcfe73c7d6ed6e8eb4d5f3a48e89e2 (patch)
tree9754fb87cce8bd7d65631782dbb3d5d8e0f75a97
parente63a6e8f6daadb8d7ab7ab7e99099fb2fee62c3c (diff)
downloadtuxcmd-3c11c85e19dcfe73c7d6ed6e8eb4d5f3a48e89e2.tar.xz
Silly workaround for searching plugins in lib64 paths
-rw-r--r--vfs/UVFSCore.pas8
1 files changed, 8 insertions, 0 deletions
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;