Also use lib64 instead of lib on aarch64

This commit is contained in:
Yaakov Selkowitz 2015-11-25 16:52:19 -06:00
parent 7ad2a32e55
commit a189503cd0
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: compat-lua
Version: 5.1.5
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Powerful light-weight programming language (compat version)
Group: Development/Languages
License: MIT
@ -100,6 +100,9 @@ mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/lua.pc \
%changelog
* Wed Nov 25 2015 Yaakov Selkowitz <yselkowi@redhat.com> - 5.1.5-4
- Also use lib64 instead of lib on aarch64
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -41711,7 +41711,7 @@ diff -urN lua-5.1.4/src/luaconf.h lua-5.1.4-autotoolize/src/luaconf.h
diff -urN lua-5.1.4/src/luaconf.h.template.in lua-5.1.4-autotoolize/src/luaconf.h.template.in
--- lua-5.1.4/src/luaconf.h.template.in 1970-01-01 01:00:00.000000000 +0100
+++ lua-5.1.4-autotoolize/src/luaconf.h.template.in 2008-09-03 13:18:37.000000000 +0200
@@ -0,0 +1,754 @@
@@ -0,0 +1,755 @@
+/*
+** $Id: luaconf.h,v 1.81 2006/02/10 17:44:06 roberto Exp $
+** Configuration file for Lua
@ -41813,7 +41813,8 @@ diff -urN lua-5.1.4/src/luaconf.h.template.in lua-5.1.4-autotoolize/src/luaconf.
+/** autotools-patch **/
+#define LUA_LDIR "%lua_datadir%/lua/5.1/"
+#if defined __alpha__ || defined __ia64__ || defined __powerpc64__ || \
+ defined __s390x__ || defined __sparc64__ || defined __x86_64__
+ defined __s390x__ || defined __sparc64__ || defined __x86_64__ || \
+ defined __aarch64__
+#define LUA_CDIR "/usr/lib64/lua/5.1/"
+#else
+#define LUA_CDIR "/usr/lib/lua/5.1/"