diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-01-31 09:42:20 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-01-31 14:43:00 -0800 |
commit | 4ee286e8e6f7a7d03134ab16389013ad5d14ed07 (patch) | |
tree | 7dd13704af668693a61653c8912331282e3260ed /builtin/commit-graph.c | |
parent | 354dbf7d649ef75c2f83d0f1d7cc03d1e84279dc (diff) |
Makefile: simplify output of the libpath_template
If a platform lacks the support to specify the dynamic library path,
there is no suitable value to give to the CC_LD_DYNPATH variable.
Allow them to be set to an empty string to signal that they do not
need to add the usual -Wl,-rpath, or -R or whatever option followed
by a directory name. This way,
$(call libpath_template,$(SOMELIBDIR))
would expand to just a single mention of that directory, i.e.
-L$(SOMELIBDIR)
when CC_LD_DYNPATH is set to an empty string (or a "-L", which
would have repeated the same "-L$(SOMELIBDIR)" twice without any
ill effect).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions