Author: michaelo
Date: Tue Aug 21 08:16:42 2018
New Revision: 1838527

URL: http://svn.apache.org/viewvc?rev=1838527&view=rev
Log:
BZ-62641: libbtool invocations should use --tag=CC

When using the provided libtool from APR on a different platform/compiler
libtool does not properly link against libapr. Passing an external one it
complains about the missing tag because a proper configuration for the
current one isn't present and cannot be derived.

Always pass '--tag=CC' for maximum portability.

Modified:
    tomcat/native/trunk/native/Makefile.in
    tomcat/native/trunk/xdocs/miscellaneous/changelog.xml

Modified: tomcat/native/trunk/native/Makefile.in
URL: 
http://svn.apache.org/viewvc/tomcat/native/trunk/native/Makefile.in?rev=1838527&r1=1838526&r2=1838527&view=diff
==============================================================================
--- tomcat/native/trunk/native/Makefile.in (original)
+++ tomcat/native/trunk/native/Makefile.in Tue Aug 21 08:16:42 2018
@@ -57,7 +57,7 @@ ifneq ($(LIBTOOL_OLD),$(LIBTOOL))
     LIBTOOL=$(LIBTOOL_OLD)
 endif
 
-LINK          = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(COMPILE) 
-version-info $(TCNATIVE_LIBTOOL_VERSION) $(ALL_LDFLAGS) -o $@
+LINK          = $(LIBTOOL) $(LTFLAGS) --mode=link --tag=CC $(LT_LDFLAGS) 
$(COMPILE) -version-info $(TCNATIVE_LIBTOOL_VERSION) $(ALL_LDFLAGS) -o $@
 CLEAN_SUBDIRS = test
 
 CLEAN_TARGETS = .make.dirs

Modified: tomcat/native/trunk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/native/trunk/xdocs/miscellaneous/changelog.xml?rev=1838527&r1=1838526&r2=1838527&view=diff
==============================================================================
--- tomcat/native/trunk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/native/trunk/xdocs/miscellaneous/changelog.xml Tue Aug 21 08:16:42 
2018
@@ -34,6 +34,13 @@
   This is the Changelog for Tomcat Native 1.2.
   </p>
 </section>
+<section name="Changes in 1.2.18">
+  <changelog>
+    <fix>
+      <bug>62641</bug>: libtool invocations should use --tag=CC. (michaelo)
+    </fix>
+  </changelog>
+</section>
 <section name="Changes in 1.2.17">
   <changelog>
     <fix>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to