diff options
Diffstat (limited to 'ltmain.sh')
-rw-r--r-- | ltmain.sh | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -382,7 +382,7 @@ func_extract_archives () darwin_curdir=`pwd` darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` - if test -n "$darwin_arches"; then + if test -n "$darwin_arches"; then darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= $show "$darwin_base_archive has multiple architectures $darwin_arches" @@ -580,7 +580,7 @@ if test -n "$prevopt"; then fi case $disable_libs in -no) +no) ;; shared) build_libtool_libs=no @@ -751,7 +751,7 @@ if test -z "$show_help"; then # Many Bourne shells cannot handle close brackets correctly # in scan sets, and some SunOS ksh mistreat backslash-escaping # in scan sets (worked around with variable expansion), - # and furthermore cannot handle '|' '&' '(' ')' in scan sets + # and furthermore cannot handle '|' '&' '(' ')' in scan sets # at all, so we specify them separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" @@ -1531,7 +1531,7 @@ EOF -framework|-arch|-isysroot) case " $CC " in - *" ${arg} ${1} "* | *" ${arg} ${1} "*) + *" ${arg} ${1} "* | *" ${arg} ${1} "*) prev=darwin_framework_skip ;; *) compiler_flags="$compiler_flags $arg" prev=darwin_framework ;; @@ -4070,7 +4070,7 @@ EOF libobjs="$libobjs $func_extract_archives_result" fi fi - + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" @@ -5861,7 +5861,7 @@ relink_command=\"$relink_command\"" case $arg in -d) isdir=yes ;; - -f) + -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; @@ -6254,7 +6254,7 @@ relink_command=\"$relink_command\"" fi # remove .exe since cygwin /usr/bin/install will append another - # one anyway + # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in |