aboutsummaryrefslogtreecommitdiff
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-01-13 09:23:31 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2015-01-13 09:23:31 +0100
commit0d7a9dbdd23c58761a85f22e18982242e2dc9621 (patch)
treef000ca8f7d7db3b7397214a3595eca77627524d4 /libjava/Makefile.am
parent4855be843467f337cd50f0d081e0a524e6ab4d77 (diff)
downloadgcc-0d7a9dbdd23c58761a85f22e18982242e2dc9621.zip
gcc-0d7a9dbdd23c58761a85f22e18982242e2dc9621.tar.gz
gcc-0d7a9dbdd23c58761a85f22e18982242e2dc9621.tar.bz2
re PR libgcj/64219 (Rename libgcj-5.0.pc to libgcj-5.pc)
PR libgcj/64219 * Makefile.am (install-data-local): Use just the major version from GCJVERSION instead of major.minor. * Makefile.in: Regenerated. From-SVN: r219519
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r--libjava/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index 39b5199..96a0815 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -779,7 +779,7 @@ install_data_local_split = 50
install-data-local:
$(PRE_INSTALL)
## Install the .pc file.
- @pc_version=`echo $(GCJVERSION) | sed -e 's/[.][^.]*$$//'`; \
+ @pc_version=`echo $(GCJVERSION) | sed -e 's/[.][^.]*[.][^.]*$$//'`; \
file="libgcj-$${pc_version}.pc"; \
$(mkinstalldirs) $(DESTDIR)$(pkgconfigdir); \
echo " $(INSTALL_DATA) libgcj.pc $(DESTDIR)$(pkgconfigdir)/$$file"; \