* libtool.m4 (sys_lib_search_path_spec): Use test instead of

`['.
(archive_cmds): And another one.
This commit is contained in:
Gary V. Vaughan 2000-12-16 14:02:50 +00:00
parent 099f6d1740
commit 20c4325d86
3 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,9 @@
2000-12-16 Gary V. Vaughan <gvv@techie.com>
* libtool.m4 (sys_lib_search_path_spec): Use test instead of
`['.
(archive_cmds): And another one.
* libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the
last patch.

8
libtool.m4 vendored
View File

@ -1436,8 +1436,8 @@ else
darwin* | rhapsody*)
allow_undefined_flag='-undefined warning'
[archive_cmds='$CC `if [ "$module" = "yes" ]; then echo -bundle; else
echo -dynamiclib; fi` -o $lib $libobjs $deplibs $linkopts']
archive_cmds='$CC `if test "$module" = "yes"; then echo -bundle; else
echo -dynamiclib; fi` -o $lib $libobjs $deplibs $linkopts'
archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
## What we need is to hardcode the path to the library, not the search path
#hardcode_direct=yes
@ -1805,10 +1805,10 @@ cygwin* | mingw* | pw32*)
shlibpath_var=PATH
;;
darwin*|rhapsody*)
darwin* | rhapsody*)
need_lib_prefix=no
need_version=no
library_names_spec='${libname}.`if [ "$module" = "yes"]; then echo so; else echo dylib; fi`'
library_names_spec='${libname}.`if test "$module" = "yes"; then echo so; else echo dylib; fi`'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
postinstall_cmds='chmod +x $lib'

View File

@ -1066,7 +1066,7 @@ compiler."
$echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
fast_install=no
;;
*-*-rhapsody*|*-*-darwin*)
*-*-rhapsody* | *-*-darwin*)
# Darwin C library is in the System framework
deplibs="$deplibs -framework System"
;;