From 3078d153f8c89743249d901da855a15d829bbe99 Mon Sep 17 00:00:00 2001 From: Subin Siby Date: Sun, 20 Sep 2020 00:27:27 +0530 Subject: [PATCH] No need of "/app/lib". Related PR #157 --- varnamc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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