You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by John Mark Vandenberg <ja...@gmail.com> on 2006/04/15 03:41:22 UTC

[patch 04/17] support msys make

Enable the Makefiles to run using MSYS make.

Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -205,7 +205,8 @@ if test "x$use_libtool" = "xyes"; then
       export_lib_target='-rpath \$(libdir) \$(OBJECTS)'
 else
       lt_compile='$(COMPILE) -o $@ -c $<'
-      link='$(AR) cr $(TARGET_LIB) $(OBJECTS); $(RANLIB) $(TARGET_LIB)'
+      # /bin/true consumes trailing arguments
+      link='$(AR) cr $(TARGET_LIB) $(OBJECTS); $(RANLIB) $(TARGET_LIB) && /bin/true'
       so_ext='o'
       lib_target=''
       export_lib_target=''
Index: build/apr_rules.mk.in
===================================================================
--- build/apr_rules.mk.in.orig
+++ build/apr_rules.mk.in
@@ -37,6 +37,9 @@ AWK=@AWK@
 SHELL=@SHELL@
 LIBTOOL=@LIBTOOL@
 
+AR=@AR@
+RANLIB=@RANLIB@
+
 # compilation and linking flags that are supposed to be set only by the user.
 # configure adds to them for tests, but we restore them at the end.
 #

--