Blame SOURCES/ruby-2.1.0-Enable-configuration-of-archlibdir.patch

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