From: Charles Wilson Date: Wed, 22 Sep 2004 08:11:49 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better quoting for X-Git-Tag: release-1-9d~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bf60ee1c8a67d1f68086f686611e354e49c3679;p=thirdparty%2Flibtool.git * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better quoting for postinstall_cmds and postuninstall_cmds to allow spaces in install paths. --- diff --git a/ChangeLog b/ChangeLog index f53034b0a..c9ea85f28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2004-09-22 Charles Wilson + * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better quoting for + postinstall_cmds and postuninstall_cmds to allow spaces in install + paths. + * config/ltmain.in (func_generate_dlsyms): Addresses in _preloaded_symbols[] cannot go into .rdata section if symbols are DATA imported from DLL, on windows, because runtime relocations diff --git a/m4/libtool.m4 b/m4/libtool.m4 index b5f1232da..19fa65601 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1714,11 +1714,11 @@ cygwin* | mingw* | pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dlpath=`$SHELL 2>&1 -c '\'\\\'\''. $dir/'\'\\\'\''\${base_file}'\'\\\'\''i;echo \$dlname'\'\\\'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\'\\\'\''. $file; echo \$dlname'\'\\\'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes