From 94400bc6a0e31ec004b7166fd13f7fdabad2290c Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Wed, 6 Jan 2021 16:44:28 +0100
Subject: [PATCH] CI: The validate script will autoreconf...

---
 scripts/validate.bash | 1 +
 src/Makefile.in       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/validate.bash b/scripts/validate.bash
index bd8f26c7..d24be93b 100755
--- a/scripts/validate.bash
+++ b/scripts/validate.bash
@@ -56,6 +56,7 @@ function check_mkdir ()
 
 function check_configure ()
 {
+    (cd $LKT_DIR && autoreconf) || die "Failed to autoreconf the '$LKT_DIR' folder"
     $LKT_DIR/configure $* || die "Failed to configure with $LKT_COMPILER"
 }
 
diff --git a/src/Makefile.in b/src/Makefile.in
index 9c8131c3..221cf217 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -481,7 +481,7 @@ liblektor_la_LDFLAGS = -avoid-version -pthread -lsqlite3 \
 CLEANFILES = database/disk.c database/memory.c
 EXTRA_DIST = database/disk.sql database/memory.sql
 lkt_SOURCES = main/lkt.c base/cmd.c base/common.c
-lkt_LDFLAGS = -pthread
+lkt_LDFLAGS = -pthread -ldl
 lektord_SOURCES = main/server.c
 lektord_LDADD = liblektor.la
 lektord_LDFLAGS = -static
-- 
GitLab