summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@vx21.xyz>2019-09-21 17:27:36 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-23 05:50:38 +0100
commit32e9b6c5b18f78731a1b49363093e0f648b29955 (patch)
treeccd11839357624a87088dcc252c215d73573fa91
parent07e12e61a4cf008696135aeb2c7482b5ced857e9 (diff)
downloadluxio-32e9b6c5b18f78731a1b49363093e0f648b29955.tar.bz2
Fix build on Fedora
-rw-r--r--findlua.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/findlua.mk b/findlua.mk
index 895ec1a..83d15cd 100644
--- a/findlua.mk
+++ b/findlua.mk
@@ -25,6 +25,11 @@ else
EXTRA_INC :=
endif
+ifeq ($(HOST_OS),Linux)
+ # Fedora needs to be explicitly linked against libreadline
+ EXTRA_LIBS := $(EXTRA_LIBS) -lreadline
+endif
+
NAKED_LUA_VER := $(shell (pkg-config --exists lua && \
pkg-config --modversion lua || \
pkg-config --variable V lua) | cut -d. -f1-2)