]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
authorGary V. Vaughan <gary@gnu.org>
Fri, 21 Sep 2001 18:09:59 +0000 (18:09 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 21 Sep 2001 18:09:59 +0000 (18:09 +0000)
for /bin/sh, and that shell does not handle escaped quotes
properly yet.
Reported by Christopher Pfisterer <cp@chrisp.de>

ChangeLog
libtool.m4

index 6555417f0c2b1c2aac1f526d5302240e403ec0a4..41ce07ae3fea6d7dd899f7b5676e1b45344dbf81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
-2001-09-21  Albert Chin-A-Young <china@thewrittenword.com>
+2001-09-21  Gary V. Vaughan  <gary@gnu.org>
+
+       * libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
+       for /bin/sh, and that shell does not handle escaped quotes
+       properly yet.
+       Reported by Christopher Pfisterer <cp@chrisp.de>
+
+2001-09-21  Albert Chin-A-Young  <china@thewrittenword.com>
 
        * libltdl/ltdl.c: Match function return type with prototype
        (add static initializer to some functions) to prevent warnings
index 066bf6a5ce6dca41fad64dc0ad26ab172d94b6ac..93fcf10620ac5fa8fab1d79e92a6a378e9c03538 100644 (file)
@@ -1579,8 +1579,9 @@ else
     esac
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
-    #        yet detect zsh echo's removal of \ escapes.
-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
+    #       `"' quotes if we put them in here... so don't!
+    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
     # We need to add '_' to the symbols in $export_symbols first
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
     hardcode_direct=yes