From f9a9eed6cfdefc3456629659314223aa48d0477b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sun, 19 Jan 2020 17:25:18 +0100
Subject: Build fix


diff --git a/Makefile.in b/Makefile.in
index 2721b48..972fada 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -34,7 +34,7 @@ liblockfile.a:	lockfile.o
 
 liblockfile.so: liblockfile.a
 		$(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,liblockfile.so.1 \
-			-o liblockfile.so lockfile.o -lc
+			-o liblockfile.so lockfile.o
 
 nfslock.so.$(NFSVER):	nfslock.o
 		$(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,nfslock.so.0 \
-- 
2.24.1


From c583ffca60900bf75489bf5789ec38cb434cf182 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sun, 19 Jan 2020 17:29:59 +0100
Subject: Install fix


diff --git a/Makefile.in b/Makefile.in
index 972fada..ec9d4be 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -65,7 +65,6 @@ install_shared:	shared install_static install_common
 			$(libdir)/liblockfile.so.$(SOVER)
 		ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so.$(MAJOR)
 		ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so
-		if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi
 
 install_common:
 		install -d -m 755 -g root -p $(includedir)
-- 
2.24.1

