1From 9de4f5fa81891e14e205fe61e1408f1218369e55 Mon Sep 17 00:00:00 2001
2From: Leon Anavi <leon.anavi@konsulko.com>
3Date: Tue, 18 May 2021 15:03:22 +0000
4Subject: [PATCH] config.mk: Fix compiler and linker
5
6Fix LIBS
7
8Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
9---
10Upstream-Status: Pending
11
12 config.mk | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/config.mk b/config.mk
16index 2eb9fb0..032bf9f 100644
17--- a/config.mk
18+++ b/config.mk
19@@ -19,7 +19,7 @@ WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-
20
21 # includes and libs
22 INCS = $(X11INC) $(GTKINC)
23-LIBS = $(X11LIB) $(GTKLIB) -lgthread-2.0
24+LIBS = -lc -lX11 ${GTKLIB} -lgthread-2.0
25
26 # flags
27 CPPFLAGS = -DVERSION=\"$(VERSION)\" -DGCR_API_SUBJECT_TO_CHANGE \
28--
292.17.1
30
31