Source: potool Version: 0.16-4 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
potool fails to cross build from source, because the upstream Makefile hard codes the build architecture pkg-config. After making it substitutable, potool cross builds successfully. Please consider applying the attached patch. Helmut
--- potool-0.16.orig/Makefile +++ potool-0.16/Makefile @@ -14,8 +14,9 @@ BININSTALL = $(INSTALL) -s GTAR = tar -GLIB_LIB = $(shell pkg-config --libs glib-2.0) -GLIB_INCLUDE = $(shell pkg-config --cflags glib-2.0) +PKG_CONFIG ?= pkg-config +GLIB_LIB = $(shell $(PKG_CONFIG) --libs glib-2.0) +GLIB_INCLUDE = $(shell $(PKG_CONFIG) --cflags glib-2.0) CPPFLAGS += $(GLIB_INCLUDE) CFLAGS += -g -Wall -Werror LDLIBS += $(GLIB_LIB)