apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Mark Vandenberg <jay...@gmail.com>
Subject [patch 04/17] support msys make
Date Sat, 15 Apr 2006 01:41:22 GMT
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.
 #

--

Mime
View raw message