Kouhei Sutou
null+****@clear*****
Tue Feb 23 00:05:13 JST 2016
Kouhei Sutou 2016-02-23 00:05:13 +0900 (Tue, 23 Feb 2016) New Revision: 49fbc27dbe5afc02dfd1025370847298bd190753 https://github.com/groonga/heroku-buildpack-groonga/commit/49fbc27dbe5afc02dfd1025370847298bd190753 Message: Always enable MeCab Modified files: bin/compile Modified: bin/compile (+1 -7) =================================================================== --- bin/compile 2016-02-23 00:02:29 +0900 (277138c) +++ bin/compile 2016-02-23 00:05:13 +0900 (43a593f) @@ -76,12 +76,6 @@ def fix_prefix_in_pc(prefix, real_prefix) end end -def mecab_enable - if ENV["GROONGA_MECAB_ENABLE"] == "yes" - File.join("vendor", "mecab", "lib") - end -end - puts("-----> Loading environment variables") environment_variables = load_environment_variables(env_dir) @@ -117,7 +111,7 @@ Dir.chdir(build_dir) do base_ld_library_paths = [ environment_variables["LD_LIBRARY_PATH"], ENV["LD_LIBRARY_PATH"], - mecab_enable, + "#{build_dir}/vendor/mecab/lib", ] ld_library_paths = [lib_dir] + base_ld_library_paths ENV["LD_LIBRARY_PATH"] = build_path_environment_value(ld_library_paths) -------------- next part -------------- HTML����������������������������... Télécharger