diff options
author | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-10 14:31:06 +0000 |
---|---|---|
committer | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-10 14:31:06 +0000 |
commit | 6ede80b6d8a561632a1aad66532e0686db97eda6 (patch) | |
tree | c5998b346b37240f53ac46303f2a84e424c7252c /libjava/Makefile.am | |
parent | a3adcd4a57866aa3e638172f1f8a4e9bc272bc9f (diff) | |
download | gcc-6ede80b6d8a561632a1aad66532e0686db97eda6.tar.gz |
2007-01-10 Matthias Klose <doko@debian.org>
* Makefile.am (install-exec-hook): Support $(DESTDIR).
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120639 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r-- | libjava/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am index 9f11234e04e..fe8c732b434 100644 --- a/libjava/Makefile.am +++ b/libjava/Makefile.am @@ -434,13 +434,13 @@ if USE_LIBGCJ_BC ## libtool's .la file, this prevents libtool resetting the lib again ## later. @echo Installing dummy lib libgcj_bc.so.1.0.0; \ - rm $(toolexeclibdir)/libgcj_bc.so; \ - mv $(toolexeclibdir)/libgcj_bc.so.1.0.0 $(toolexeclibdir)/libgcj_bc.so; \ + rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so; \ + mv $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0 $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so; \ $(libgcj_bc_dummy_LINK) -xc /dev/null -Wl,-soname,libgcj_bc.so.1 \ - -o $(toolexeclibdir)/libgcj_bc.so.1.0.0 -lgcj || exit; \ - rm $(toolexeclibdir)/libgcj_bc.so.1; \ - $(LN_S) libgcj_bc.so.1.0.0 $(toolexeclibdir)/libgcj_bc.so.1; \ - rm $(toolexeclibdir)/libgcj_bc.la; + -o $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0 -lgcj || exit; \ + rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1; \ + $(LN_S) libgcj_bc.so.1.0.0 $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1; \ + rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.la; endif if BUILD_ECJ1 if NATIVE |