summaryrefslogtreecommitdiff
path: root/config.mak.in
diff options
context:
space:
mode:
authorGiovanni Funchal <gafunchal@gmail.com>2008-08-16 15:01:23 +0200
committerJunio C Hamano <gitster@pobox.com>2008-08-17 17:42:02 -0700
commit798a94500230e4d2a1a18f005fe9592454fe451b (patch)
tree3e09b66d76f561b5602459959be45d308fd178aa /config.mak.in
parentf5b904db6b02e0ded76732eabe106069a87859fd (diff)
downloadgit-798a94500230e4d2a1a18f005fe9592454fe451b.tar.gz
configure: auto detect dynamic library path switches
Most systems (e.g. Linux gcc) use "-Wl,-rpath," to pass to the linker the runtime dynamic library paths. Some other systems (e.g. Sun, some BSD) use "-R" etc. This patch adds tests in configure for the three most common switches (to my best knowledge) which should cover all current platforms where Git is used. Signed-Off-By: Giovanni Funchal <gafunchal@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.in')
-rw-r--r--config.mak.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.in b/config.mak.in
index b776149531..467b4aaeea 100644
--- a/config.mak.in
+++ b/config.mak.in
@@ -3,6 +3,7 @@
CC = @CC@
CFLAGS = @CFLAGS@
+CC_LD_DYNPATH = @CC_LD_DYNPATH@
AR = @AR@
TAR = @TAR@
#INSTALL = @INSTALL@ # needs install-sh or install.sh in sources