]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltcf-c.sh (archive_cmds): And another one. Use test instead of
authorGary V. Vaughan <gary@gnu.org>
Sat, 16 Dec 2000 13:56:50 +0000 (13:56 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 16 Dec 2000 13:56:50 +0000 (13:56 +0000)
`['.

ChangeLog
ltcf-c.sh

index cd709175c7ae956db60b8cc0f14baac989a65a33..0d716f623ed8907d1fc309ed7a2b592326f0c2f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-12-16  Gary V. Vaughan  <gvv@techie.com>
 
+       * ltcf-c.sh (archive_cmds): And another one.  Use test instead of
+       `['.
+
        * ltconfig.in (sys_lib_search_path_spec): Use test instead of
        `['.
 
index 0abfcdb04ca2efc5fecb13e59426ca64265b8c0a..93e83162a2bc3e6ad14ce504159301bad6d68b57 100644 (file)
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -169,7 +169,7 @@ EOF
 
   darwin*|rhapsody*)
     allow_undefined_flag='-undefined warning'
-    archive_cmds='$CC $(if [ "$module" = "yes" ]; then echo -bundle; else
+    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