[wget-notify] [bug #22143] src/Makefile.am should place additional libs first

Mike Frysinger INVALID.NOREPLY at gnu.org
Mon Jan 28 05:49:41 PST 2008


URL:
  <http://savannah.gnu.org/bugs/?22143>

                 Summary: src/Makefile.am should place additional libs first
                 Project: GNU Wget
            Submitted by: vapier
            Submitted on: Monday 01/28/2008 at 13:49
                Category: Build/Install
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk
        Operating System: None
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: Yes

    _______________________________________________________

Details:

when building statically, the library order needs to be such that symbols are
resolved as needed.  that means ssl/gnutls/etc... need to come after @LIBS@ in
src/Makefile.am.

--- a/src/Makefile.am   Fri Jan 25 05:10:04 2008 -0800
+++ b/src/Makefile.am   Mon Jan 28 08:49:31 2008 -0500
@@ -32,7 +32,7 @@

 # The following line is losing on some versions of make!
 DEFS     = @DEFS@ -DSYSTEM_WGETRC=\"$(sysconfdir)/wgetrc\"
-DLOCALEDIR=\"$(localedir)\"
-LIBS     = @LIBS@ @LIBSSL@ @LIBGNUTLS@ @LIBINTL@
+LIBS     = @LIBSSL@ @LIBGNUTLS@ @LIBINTL@ @LIBS@

 bin_PROGRAMS = wget
 wget_SOURCES = cmpt.c connect.c convert.c cookies.c ftp.c ftp-basic.c  \




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22143>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



More information about the wget-notify mailing list