From 8f8d0ef6b7a6f1f1924f09418e315bb216c81129 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 28 Nov 2024 15:51:57 +0100 Subject: [PATCH] add more pkgconfig dirs (for deb* archs) --- App/tools/driver.makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index cf3903d..ddf42dc 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -518,7 +518,12 @@ what:: @echo ${EPICSVERSION} ${T_A} ifdef SYSROOT -export PKG_CONFIG_LIBDIR=$(wildcard $(SYSROOT:%=%/lib*/pkgconfig)) +PKG_CONFIG_DIRS+=/lib* +PKG_CONFIG_DIRS+=/usr/lib* +PKG_CONFIG_DIRS+=/usr/lib/* +PKG_CONFIG_DIRS+=/usr/share +PKG_CONFIG_DIRS+=/opt/extra/lib/* +export PKG_CONFIG_LIBDIR=$(subst $() $(),:,$(wildcard $(patsubst %, $(SYSROOT)%/pkgconfig, $(PKG_CONFIG_DIRS)))) export PKG_CONFIG_SYSROOT_DIR = $(SYSROOT) endif