summaryrefslogtreecommitdiff
path: root/template/ruby.pc.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-06 08:32:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-06 08:32:53 +0000
commit29c214e4a058fc4017ab0c0bf5c36b5bad203b5b (patch)
treeab2a45e9dc177e3f9b31d96588a922ba32d63aca /template/ruby.pc.in
parentd32b122996778828f5d5f2ea58b0d2a8c0da7ede (diff)
configure.in: arch dependent library directory options
* configure.in (rubyarchprefix, sitearchdir, vendorarchdir): add options to customize architecture dependent library directories. * template/ruby.pc.in, tool/mkconfig.rb, tool/rbinstall.rb: use configured values. * tool/mkconfig.rb: expand rubyarchdir to extract prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/ruby.pc.in')
-rw-r--r--template/ruby.pc.in15
1 files changed, 9 insertions, 6 deletions
diff --git a/template/ruby.pc.in b/template/ruby.pc.in
index 7bb9c0d..fe11b8a 100644
--- a/template/ruby.pc.in
+++ b/template/ruby.pc.in
@@ -26,12 +26,15 @@ LIBS=@LIBS@
DLDFLAGS=@DLDFLAGS@
ruby=${bindir}/${RUBY_INSTALL_NAME}@EXEEXT@
rubylibprefix=@rubylibprefix@
-rubylibdir=${rubylibprefix}/${ruby_version}
-vendordir=${rubylibprefix}/vendor_ruby
-sitedir=${rubylibprefix}/site_ruby
-rubyarchdir=${rubylibdir}/${arch}
-vendorarchdir=${vendordir}/${sitearch}
-sitearchdir=${sitedir}/${sitearch}
+rubyarchprefix=@rubyarchprefix@
+rubylibdir=@rubylibdir@
+vendordir=@vendordir@
+sitedir=@sitedir@
+vendorlibdir=@vendorlibdir@
+sitelibdir=@sitelibdir@
+rubyarchdir=@rubyarchdir@
+vendorarchdir=@vendorarchdir@
+sitearchdir=@sitearchdir@
rubyhdrdir=@rubyhdrdir@
vendorhdrdir=@vendorhdrdir@
sitehdrdir=@sitehdrdir@