diff --git a/varnamc b/varnamc index 7676c54..e15bcf6 100755 --- a/varnamc +++ b/varnamc @@ -33,7 +33,7 @@ def find_libvarnam return $options[:library] if not $options[:library].nil? # Trying to find out libvarnam in the predefined locations if # absolute path to the library is not specified - libvarnam_search_paths = ['.', File.dirname(File.expand_path(__FILE__)), '/app/lib', '/usr/local/lib', '/usr/local/lib/i386-linux-gnu', '/usr/local/lib/x86_64-linux-gnu', '/usr/lib/i386-linux-gnu', '/usr/lib/x86_64-linux-gnu', '/usr/lib'] + libvarnam_search_paths = ['.', File.dirname(File.expand_path(__FILE__)), '/usr/local/lib', '/usr/local/lib/i386-linux-gnu', '/usr/local/lib/x86_64-linux-gnu', '/usr/lib/i386-linux-gnu', '/usr/lib/x86_64-linux-gnu', '/usr/lib'] libvarnam_names = ['libvarnam.so', "libvarnam.so.#{$libvarnam_major_version}", 'libvarnam.dylib', 'varnam.dll'] libvarnam_search_paths.each do |path| libvarnam_names.each do |fname| @@ -54,7 +54,7 @@ else puts "Using #{$options[:library]}" if $options[:verbose] end -varnamruby_searchpaths = [".", File.dirname(File.expand_path(__FILE__)), "/app/lib", "/usr/local/lib", "/usr/lib"] +varnamruby_searchpaths = [".", File.dirname(File.expand_path(__FILE__)), "/usr/local/lib", "/usr/lib"] varnamruby_loaded = false varnamruby_searchpaths.each do |p| begin