diff options
author | H.J. Lu <hjl@gnu.org> | 1999-02-17 00:40:16 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-02-16 17:40:16 -0700 |
commit | 8ccdc2287e6a71ec48db700a9e27842a8d7a6a24 (patch) | |
tree | 2729c3e4f88622e7f62d49755ac079b2d1fcada9 /Makefile.in | |
parent | 8401285e71a6f652f00f25af207abb02ec1dda4a (diff) | |
download | gcc-8ccdc2287e6a71ec48db700a9e27842a8d7a6a24.tar.gz |
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
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index f619e87abc6..79527fbdd64 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 |