pvalena / rpms / ruby

Forked from rpms/ruby 2 years ago
Clone
a03b2d
From 07c666ba5c3360dd6f43605a8ac7c85c99c1721f Mon Sep 17 00:00:00 2001
a03b2d
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
a03b2d
Date: Tue, 1 Oct 2013 12:22:40 +0200
a03b2d
Subject: [PATCH] Allow to configure libruby.so placement.
a03b2d
a03b2d
---
c2db65
 configure.ac | 5 +++++
a03b2d
 1 file changed, 5 insertions(+)
a03b2d
c2db65
diff --git a/configure.ac b/configure.ac
c2db65
index 11fc237552..b77e88fc37 100644
c2db65
--- a/configure.ac
c2db65
+++ b/configure.ac
17f23f
@@ -3085,6 +3085,11 @@ AS_IF([test ${multiarch+set}], [
c2db65
 ])
a03b2d
 
a03b2d
 archlibdir='${libdir}/${arch}'
a03b2d
+AC_ARG_WITH(archlibdir,
a03b2d
+	    AS_HELP_STRING([--with-archlibdir=DIR],
a03b2d
+			   [prefix for libruby [[LIBDIR/ARCH]]]),
a03b2d
+	    [archlibdir="$withval"])
a03b2d
+
a03b2d
 sitearchlibdir='${libdir}/${sitearch}'
a03b2d
 archincludedir='${includedir}/${arch}'
a03b2d
 sitearchincludedir='${includedir}/${sitearch}'
a03b2d
-- 
a03b2d
1.8.3.1
a03b2d