Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 54250 invoked from network); 2 Apr 2011 13:58:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2011 13:58:39 -0000 Received: (qmail 74186 invoked by uid 500); 2 Apr 2011 13:58:39 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 74145 invoked by uid 500); 2 Apr 2011 13:58:39 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 74138 invoked by uid 99); 2 Apr 2011 13:58:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 13:58:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 13:58:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E47A723888EA; Sat, 2 Apr 2011 13:58:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn propchange: r1088023 - svn:log Date: Sat, 02 Apr 2011 13:58:15 -0000 To: commits@apr.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110402135815.E47A723888EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: trawick Revision: 1088023 Modified property: svn:log Modified: svn:log at Sat Apr 2 13:58:15 2011 ------------------------------------------------------------------------------ --- svn:log (original) +++ svn:log Sat Apr 2 13:58:15 2011 @@ -1,5 +1,31 @@ MinGW/MSYS: Support shared builds of APR, other general improvements to support of this toolchain. +test/Makefile.in: +* $(LT_LDFLAGS) must be placed after the driver, otherwise it will act exactly +like $(LTFLAGS). This is required, otherwise libtool will be never able to +recognize the "-no-undefined" flag. +* if mod_test.la does not specify $(LOCAL_LIBS), compilation will fail (this is +required by both static and shared builds). + +include/apr.h.in: +* It is required to declare APR_DECLARE, APR_DECLARE_NONSTD and +APR_DECLARE_DATA as they are in apr.hw, otherwise the generate DLL won't export +any symbol. APR_MODULE_DECLARE_DATA is already included, but previous ones are +not. + +configure.in: +* $(LT_LDFLAGS) must be placed after the driver, as described for +test/Makefile.in. +* Added "-no-undefined" flag to $(LT_LDFLAGS) if the target platform is +Windows. +* Declare APR_DECLARE_EXPORT or APR_DECLARE_STATIC, required by the macro added +in include/apr.h.in. +* Removed the "strange" libraries detection (btw, probably it was also breaking +platforms without __stdcall calling convention, like Windows CE/Mobile/Phone, +since function names were decorated), linker gave error without sense if adding +"-lkernel32", probably because it creates a conflict of library precedence and +dependency. + PR: 46175 Submitted by: Carlo Bramini