Commit 8ccdc228 by H.J. Lu Committed by Jeff Law

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
parent 8401285e
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> Sun Feb 7 18:01:54 1999 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of * configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of
......
...@@ -187,7 +187,11 @@ RPATH_ENVVAR = LD_LIBRARY_PATH ...@@ -187,7 +187,11 @@ RPATH_ENVVAR = LD_LIBRARY_PATH
# configure.in sets SET_LIB_PATH to this if --enable-shared was used. # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
REALLY_SET_LIB_PATH = \ 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); export $(RPATH_ENVVAR);
ALL = all.normal ALL = all.normal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment