diff options
author | Alejandro Colomar <alx@kernel.org> | 2022-12-29 19:23:05 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2022-12-29 19:54:06 +0100 |
commit | f804a1f832d544c80e8de12283d118b2d8fe940c (patch) | |
tree | 26460ea2bb37559fca9f1c2421bb343cdf5d431c | |
parent | 994e2ede81e2735fa7a9483442c34d8b7379e21e (diff) |
build-deps.mk: Fix use of pkgconf(1)
We need to use also the flags declared by our own pc(5) file.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | lib/build-deps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/build-deps.mk b/lib/build-deps.mk index 38c1251..c9f77e5 100644 --- a/lib/build-deps.mk +++ b/lib/build-deps.mk @@ -24,7 +24,7 @@ PKGCONF_CMD := $(PKGCONF_ENV) $(PKGCONF) $(PKGCONFFLAGS) pc_lib := $(libname)-uninstalled LIB_pc_u := $(PCDIR)/$(pc_lib).pc _LIB_pc_u := $(builddir)/$(pc_lib).pc -pc_reqs := $(shell $(PKGCONF_CMD) --print-requires-private $(pc_lib)) +pc_reqs := $(shell $(PKGCONF_CMD) --print-requires-private $(pc_lib)) $(pc_lib) DEFAULT_CPPFLAGS := $(shell $(PKGCONF_CMD) --cflags $(pc_lib)) |