summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-21 18:54:10 -0400
committermidipix <writeonce@midipix.org>2015-03-21 18:54:10 -0400
commit3a297cf8f0c5d8f5458418ba5b2bdf56fb1529cd (patch)
tree1e44dec1de2a5637e3bbe48a5def03daff8e15d8 /libobjc
parentdb460f5cfa435089333fd8e76ddc74164b43b502 (diff)
downloadcbb-gcc-4.6.4-3a297cf8f0c5d8f5458418ba5b2bdf56fb1529cd.tar.bz2
cbb-gcc-4.6.4-3a297cf8f0c5d8f5458418ba5b2bdf56fb1529cd.tar.xz
libtool: add support for the midipix targets in the relevant configure scripts.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'libobjc')
-rwxr-xr-xlibobjc/configure22
1 files changed, 22 insertions, 0 deletions
diff --git a/libobjc/configure b/libobjc/configure
index fd5b7549c..a5bb06e17 100755
--- a/libobjc/configure
+++ b/libobjc/configure
@@ -13074,6 +13074,28 @@ esac ;;
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