This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
PATCH: Install pkgconfig file in toolexeclibdir
- From: mitchell at codesourcery dot com (Mark Mitchell)
- To: java-patches at gcc dot gnu dot org
- Date: Tue, 10 Feb 2009 08:43:38 -0800 (PST)
- Subject: PATCH: Install pkgconfig file in toolexeclibdir
- Reply-to: mark at codesourcery dot com
The pkgconfig file for libjava is target-specific; it references
particular .so files. Therefore, it should go in some target-specific
location, not in $(libdir), which is generally $prefix/lib.
Furthermore, it's multilib-specific. So, I think $(toolexeclibdir) is
the right choice.
OK to apply?
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
2009-02-10 Mark Mitchell <mark@codesourcery.com>
* Makefile.am (pkgconfigdir): Base on $(toolexeclibdir), not
$(libdir).
Index: libjava/Makefile.am
===================================================================
--- libjava/Makefile.am (revision 236120)
+++ libjava/Makefile.am (working copy)
@@ -48,7 +48,7 @@ endif
dbexec_LTLIBRARIES = libjvm.la
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(toolexeclibdir)/pkgconfig
jardir = $(datadir)/java
jar_DATA = libgcj-$(gcc_version).jar libgcj-tools-$(gcc_version).jar