[Top][All Lists]

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

Re: Supporting options to assembler and other commands

From: Ralf Wildenhues
Subject: Re: Supporting options to assembler and other commands
Date: Fri, 30 Oct 2009 07:22:10 +0100
User-agent: Mutt/1.5.20 (2009-08-09)

Hello Matthijs,

* Matthijs Kooijman wrote on Thu, Oct 29, 2009 at 11:22:15AM CET:
> the current libtool version (2.2.6a) does not support passing options to
> commands like the assembler or objdump. This causes libtool in OpenWRT to spit
> out errors while running:
>   $ ./libtool
>   ./libtool: line 46: -c: command not found

Uh.  Oh.  How embarrasing.  Please try the patch below.

OK to apply, OK to add you to THANKS?

Cheers, and thanks for the bug report,

    Fix quoting of AS, DLLTOOL, and OBJDUMP for the libtool script.
    * libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Quote values of
    $AS, $DLLTOOL, and $OBJDUMP, so they can contain arguments.
    * THANKS: Update.
    Report by Matthijs Kooijman.

diff --git a/libltdl/m4/ltoptions.m4 b/libltdl/m4/ltoptions.m4
index b8e0e71..5ef12ce 100644
--- a/libltdl/m4/ltoptions.m4
+++ b/libltdl/m4/ltoptions.m4
@@ -1,6 +1,7 @@
 # Helper functions for option handling.                    -*- Autoconf -*-
-#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
+#   Inc.
 #   Written by Gary V. Vaughan, 2004
 # This file is free software; the Free Software Foundation gives
@@ -133,13 +134,13 @@ case $host in
 test -z "$AS" && AS=as
-_LT_DECL([], [AS],      [0], [Assembler program])dnl
+_LT_DECL([], [AS],      [1], [Assembler program])dnl
 test -z "$DLLTOOL" && DLLTOOL=dlltool
-_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
 test -z "$OBJDUMP" && OBJDUMP=objdump
-_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
 ])# win32-dll

reply via email to

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