mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* libtool.m4 (sys_lib_search_path_spec): Use test instead of
`['. (archive_cmds): And another one.
This commit is contained in:
parent
099f6d1740
commit
20c4325d86
@ -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
8
libtool.m4
vendored
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user