Send inn-committers mailing list submissions to
        inn-committers@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-committers
or, via email, send a message with subject or body 'help' to
        inn-committers-requ...@lists.isc.org

You can reach the person managing the list at
        inn-committers-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-committers digest..."


Today's Topics:

   1. INN commit: branches/2.5/backends (Makefile) (INN Commit)


----------------------------------------------------------------------

Message: 1
Date: Tue, 23 Sep 2014 19:53:29 -0700 (PDT)
From: INN Commit <r...@isc.org>
To: inn-committ...@isc.org
Subject: INN commit: branches/2.5/backends (Makefile)
Message-ID: <20140924025329.6567867...@hope.eyrie.org>

    Date: Tuesday, September 23, 2014 @ 19:53:29
  Author: eagle
Revision: 9720

Re-add second $(LIBSTORAGE) when linking backends

Backend commands (such as nntpget) linked with both history
and storage libraries list $(LIBSTORAGE) in the link line twice.
This isn't a mistake; there are some unfortunate circular
dependencies that require listing $(LIBSTORAGE) both before
and after $(LIBINNHIST) in the link line or static linking will
fail.

Modified:
  branches/2.5/backends/Makefile

----------+
 Makefile |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: Makefile
===================================================================
--- Makefile    2014-09-22 19:19:40 UTC (rev 9719)
+++ Makefile    2014-09-24 02:53:29 UTC (rev 9720)
@@ -71,7 +71,9 @@
 
 ##  Compilation rules.
 
-BOTH           = $(LIBSTORAGE) $(LIBHIST) $(LIBINN)
+# $(LIBSTORAGE) must be listed twice to resolve circular dependencies
+# when doing static linking.
+BOTH           = $(LIBSTORAGE) $(LIBHIST) $(LIBSTORAGE) $(LIBINN)
 
 LINK           = $(LIBLD) $(LDFLAGS) -o $@
 INNLIBS                = $(LIBINN) $(LIBS)



------------------------------

_______________________________________________
inn-committers mailing list
inn-committers@lists.isc.org
https://lists.isc.org/mailman/listinfo/inn-committers

End of inn-committers Digest, Vol 67, Issue 19
**********************************************

Reply via email to