Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: Patch for NO_R_TO_GCC_LINKER

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:09

"Giovanni Funchal" [off-list ref] writes:
quoted hunk
diff --git a/Makefile b/Makefile
index 90c5a13..6e20b08 100644
--- a/Makefile
+++ b/Makefile
@@ -111,9 +111,8 @@ all::
 #
 # Define NO_DEFLATE_BOUND if your zlib does not have deflateBound.
 #
-# Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib"
-# that tells runtime paths to dynamic libraries;
-# "-Wl,-rpath=/path/lib" is used instead.
+# LD_RUNPATH_SWITCH specifies how to pass the runtime dynamic library paths
+# to the linker. The default is "-Wl,-rpath,".
Can you make your change to configure.ac to minimize changes to the
Makefile?

In this project, use of configure is strictly optional and Makefile is
more canonical than autoconf generated configure.  Unless absolutely
necessary, I'd prefer to have a solution that does _not_ change the set of
make variables people need to override from the command line.

Changes to configure.ac so that generated script sets NO_R_TO_GCC_LINKER
appropriately would fit the current model much better and would not break
people's existing setups that do not use configure.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help