From 3a297cf8f0c5d8f5458418ba5b2bdf56fb1529cd Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 21 Mar 2015 18:54:10 -0400 Subject: libtool: add support for the midipix targets in the relevant configure scripts. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- lto-plugin/configure | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'lto-plugin/configure') diff --git a/lto-plugin/configure b/lto-plugin/configure index 48b414e99..e090e5fe6 100755 --- a/lto-plugin/configure +++ b/lto-plugin/configure @@ -12639,6 +12639,28 @@ $as_echo X"$file" | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" +case $host_os in + midipix | midipix*) + enable_shared=yes + can_build_shared=yes + lt_lt_cv_sys_global_symbol_pipe="\"sed -n -e 's/^.*[ ]\\\\([ABCDGIRSTW][ABCDGIRSTW]*\\\\)[ ][ ]*\\\\([_A-Za-z][_A-Za-z0-9]*\\\\)\\\$/\\\\1 \\\\2 \\\\2/p'\"" + lt_lt_cv_sys_global_symbol_to_cdecl="\"sed -n -e 's/^T .* \\\\(.*\\\\)\\\$/extern int \\\\1();/p' -e 's/^[ABCDGIRSTW]* .* \\\\(.*\\\\)\\\$/extern char \\\\1;/p'\"" + lt_soname_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$major\"" + lt_library_names_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$versuffix \\\${libname}\\\${release}\\\${shared_ext}\\\$major \\\$libname\\\${shared_ext}\"" + lt_archive_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname -o \\\$lib\"" + lt_archive_expsym_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname \\\${wl}-retain-symbols-file \\\$wl\\\$export_symbols -o \\\$lib\"" + lt_finish_cmds="\"\"" + lt_lt_prog_compiler_static="\"-static\"" + lt_deplibs_check_method="\"pass_all\"" + need_lib_prefix=no + need_version=no + version_type=linux + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=no + ;; +esac + cat <<_LT_EOF >> "$cfgfile" #! $SHELL -- cgit v1.2.3