libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] MLB incorrect setting of exec_cmd for mode=execute


From: Nick Hudson
Subject: [PATCH] MLB incorrect setting of exec_cmd for mode=execute
Date: Wed, 20 Jun 2001 08:56:59 +0100

The change 1.200.2.67 -> 1.200.2.68 on the MLB causes a problem with
mode=execute. For example in the mdemo directory

$ ./libtool --mode=execute ldd mdemo
ldd: "mdemo": No such file or directory

The following patch fixes this problem. Its a reversion of the orginal
patch, but I not sure why the first dollar is escaped.

Nick
*** ltmain.in.orig      Wed Jun 20 08:53:46 2001
--- ltmain.in   Wed Jun 20 08:54:36 2001
***************
*** 5053,5059 ****
        fi
  
        # Now prepare to actually exec the command.
!       exec_cmd='"$cmd"$args'
      else
        # Display what would be done.
        if test -n "$shlibpath_var"; then
--- 5053,5059 ----
        fi
  
        # Now prepare to actually exec the command.
!       exec_cmd="\$cmd$args"
      else
        # Display what would be done.
        if test -n "$shlibpath_var"; then



reply via email to

[Prev in Thread] Current Thread [Next in Thread]