diff -uNr libxklavier-libxklavier-5.4/libxklavier/Makefile.am libxklavier-libxklavier-5.4.mod/libxklavier/Makefile.am
--- libxklavier-libxklavier-5.4/libxklavier/Makefile.am	2013-04-24 02:06:51.000000000 +0300
+++ libxklavier-libxklavier-5.4.mod/libxklavier/Makefile.am	2019-10-28 13:29:17.988106879 +0200
@@ -47,7 +47,7 @@
 
 EXTRA_DIST=marshal.list libxklavier.public
 
-GLIB_GENMARSHAL = `$(PKG_CONFIG) --variable=glib_genmarshal glib-2.0`
+GLIB_GENMARSHAL = glib-genmarshal
 
 xkl_engine_marshal.h: marshal.list
 	$(GLIB_GENMARSHAL) --prefix=xkl_engine $(srcdir)/marshal.list --header > xkl_engine_marshal.h
