This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Install pkgconfig file in toolexeclibdir


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]