author | Giovanni Funchal <gafunchal@gmail.com> | |
Sat, 16 Aug 2008 13:01:23 +0000 (15:01 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 18 Aug 2008 00:42:02 +0000 (17:42 -0700) | ||
commit | 798a94500230e4d2a1a18f005fe9592454fe451b | |
tree | 3e09b66d76f561b5602459959be45d308fd178aa | tree | snapshot |
parent | f5b904db6b02e0ded76732eabe106069a87859fd | commit | diff |
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>
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>
config.mak.in | diff | blob | history | |
configure.ac | diff | blob | history |