diff -u -r a/lib/Makefile b/lib/Makefile
--- a/lib/Makefile	2019-12-15 11:10:33.000000000 +0100
+++ b/lib/Makefile	2020-01-25 22:11:20.295703252 +0100
@@ -42,7 +42,7 @@
 endif
 
 ifdef USELIBXML
-   BASELIBS += $(shell xml2-config --libs) $(shell xslt-config --libs)
+   BASELIBS += $(shell xml2-config --libs) $(shell pkg-config libxslt --libs)
 endif
 
 ifdef SYSD_NOTIFY
diff -u -r a/Make.config b/Make.config
--- a/Make.config	2020-01-25 22:09:28.280871277 +0100
+++ b/Make.config	2020-01-25 22:22:28.364702750 +0100
@@ -73,7 +73,7 @@
 endif
 
 ifdef USELIBXML
-  DEFINES += $(shell xml2-config --cflags) $(shell xslt-config --cflags)
+  DEFINES += $(shell xml2-config --cflags) $(shell pkg-config libxslt --cflags)
 endif
 
 ifdef USEPYTHON
diff -u -r a/Makefile b/Makefile
--- a/Makefile	2019-12-15 11:10:33.000000000 +0100
+++ b/Makefile	2020-01-25 22:12:40.469734397 +0100
@@ -16,8 +16,8 @@
 
 
 HLIB     = -L./lib -lhorchi
-DLIBS    = $(HLIB) $(BASELIBS) -lcurl $(shell xml2-config --libs) $(shell xslt-config --libs) -lexslt
-HTTPLIBS = $(HLIB) -lmicrohttpd $(BASELIBS) -lcurl $(shell xml2-config --libs) $(shell xslt-config --libs) -lexslt -ljpeg $(shell imlib2-config --libs)
+DLIBS    = $(HLIB) $(BASELIBS) -lcurl $(shell xml2-config --libs) $(shell pkg-config libxslt --libs) -lexslt
+HTTPLIBS = $(HLIB) -lmicrohttpd $(BASELIBS) -lcurl $(shell xml2-config --libs) $(shell pkg-config libxslt --libs) -lexslt -ljpeg $(shell imlib2-config --libs)
 CFLAGS   += $(shell mysql_config --include)
 
 VERSION = $(shell grep 'define _VERSION ' $(HISTFILE) | awk '{ print $$3 }' | sed -e 's/[";]//g')
