1 |
commit: dea3d3cc0114549fafd4a8b8f04ef8e260eb456d |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 16:50:11 2020 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 5 12:13:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea3d3cc |
7 |
|
8 |
lua.eclass: die if lua-single.eclass has already been loaded |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
eclass/lua.eclass | 4 ++++ |
13 |
1 file changed, 4 insertions(+) |
14 |
|
15 |
diff --git a/eclass/lua.eclass b/eclass/lua.eclass |
16 |
index f4594872e58..8ade9c0f079 100644 |
17 |
--- a/eclass/lua.eclass |
18 |
+++ b/eclass/lua.eclass |
19 |
@@ -63,6 +63,10 @@ esac |
20 |
|
21 |
if [[ ! ${_LUA_R0} ]]; then |
22 |
|
23 |
+if [[ ${_LUA_SINGLE_R0} ]]; then |
24 |
+ die 'lua.eclass cannot be used with lua-single.eclass.' |
25 |
+fi |
26 |
+ |
27 |
inherit multibuild lua-utils |
28 |
|
29 |
fi |