218 install_redland = gen_install_comp_lib('redland', 'REDLAND', [], dict(redland_base_env.items() + {'CFLAGS':'-I%(home_dir)s/include'}.items())) |
218 install_redland = gen_install_comp_lib('redland', 'REDLAND', [], dict(redland_base_env.items() + {'CFLAGS':'-I%(home_dir)s/include'}.items())) |
219 python_ld_flags = '-L'+os.path.abspath(os.path.join(os.path.dirname(os.__file__),'..'))+' -lpython'+".".join(map(str,sys.version_info[0:2])) |
219 python_ld_flags = '-L'+os.path.abspath(os.path.join(os.path.dirname(os.__file__),'..'))+' -lpython'+".".join(map(str,sys.version_info[0:2])) |
220 if sys.platform == 'darwin': |
220 if sys.platform == 'darwin': |
221 python_ld_flags += ' -Wl,-dylib' |
221 python_ld_flags += ' -Wl,-dylib' |
222 elif 'linux' in sys.platform: |
222 elif 'linux' in sys.platform: |
223 python_ld_flags += '-nostartfiles -Wl,-shared' |
223 python_ld_flags += ' -nostartfiles -Wl,-shared' |
224 install_redland_bindings = gen_install_comp_lib('redland-bindings', "REDLAND_BINDINGS", ['--with-python=%(home_dir)s/bin/python', '--with-python-ldflags='+python_ld_flags], redland_base_env) |
224 install_redland_bindings = gen_install_comp_lib('redland-bindings', "REDLAND_BINDINGS", ['--with-python=%(home_dir)s/bin/python', '--with-python-ldflags='+python_ld_flags], redland_base_env) |
225 |
225 |
226 def install_pystemmer(option_str, extra_env, res_source_key, home_dir, lib_dir, tmp_dir, src_dir, res_env, logger, call_subprocess, filter_python_develop): |
226 def install_pystemmer(option_str, extra_env, res_source_key, home_dir, lib_dir, tmp_dir, src_dir, res_env, logger, call_subprocess, filter_python_develop): |
227 print "install PYSTEMMER from " + res_env.URLS['PYSTEMMER'][res_source_key] |
227 print "install PYSTEMMER from " + res_env.URLS['PYSTEMMER'][res_source_key] |
228 pystemmer_src = os.path.join(src_dir,"pystemmer.zip") |
228 pystemmer_src = os.path.join(src_dir,"pystemmer.zip") |