summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-07-24 09:24:47 +0100
committerJens Axboe <axboe@kernel.dk>2019-07-24 09:11:44 -0600
commit3af7ea17bcced2ae5a1c117a057092291d07a3d2 (patch)
tree983218ab7219b9d84627dd3f85407aa34d769147 /Makefile
parent90619de90d35167b1adef0b1e000ffe307eaea03 (diff)
pkgconfig: add missing config-host.mak dependency
Rebuild the .pc file when config-host.mak changes since @prefix@, @libdir@, etc could have changed. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ea639d6..4f524df 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ ifneq ($(MAKECMDGOALS),clean)
include config-host.mak
endif
-%.pc: %.pc.in
+%.pc: %.pc.in config-host.mak
sed -e "s%@prefix@%$(prefix)%g" \
-e "s%@libdir@%$(libdir)%g" \
-e "s%@includedir@%$(includedir)%g" \