Makefile.in (REALLY_SET_LIB_PATH): Append $$$(RPATH_ENVVAR) only if it is not empty.

�
	* Makefile.in (REALLY_SET_LIB_PATH): Append $$$(RPATH_ENVVAR)
	only if it is not empty.

From-SVN: r25258
This commit is contained in:
H.J. Lu 1999-02-17 00:40:16 +00:00 committed by Jeff Law
parent 8401285e71
commit 8ccdc2287e
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Feb 17 01:38:59 1999 H.J. Lu (hjl@gnu.org)
* Makefile.in (REALLY_SET_LIB_PATH): Append $$$(RPATH_ENVVAR)
only if it is not empty.
Sun Feb 7 18:01:54 1999 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of

View File

@ -187,7 +187,11 @@ RPATH_ENVVAR = LD_LIBRARY_PATH
# configure.in sets SET_LIB_PATH to this if --enable-shared was used.
REALLY_SET_LIB_PATH = \
$(RPATH_ENVVAR)=$$r/bfd:$$r/opcodes:$$$(RPATH_ENVVAR); \
if [ x"$$$(RPATH_ENVVAR)" != x ]; then \
$(RPATH_ENVVAR)=$$r/bfd:$$r/opcodes:$$$(RPATH_ENVVAR); \
else \
$(RPATH_ENVVAR)=$$r/bfd:$$r/opcodes; \
fi; \
export $(RPATH_ENVVAR);
ALL = all.normal