diff mbox series

[liburing,3/4] src/Makefile: honor the caller's includedir and libdir

Message ID 20190724082450.12135-4-stefanha@redhat.com (mailing list archive)
State New, archived
Headers show
Series Fedora packaging preparation | expand

Commit Message

Stefan Hajnoczi July 24, 2019, 8:24 a.m. UTC
The top-level makefile passes in includedir and libdir so we should
not override them.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 src/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/src/Makefile b/src/Makefile
index 954e05e..aa93199 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@ 
 prefix ?= /usr
-includedir=$(prefix)/include
-libdir=$(prefix)/lib
+includedir ?= $(prefix)/include
+libdir ?= $(prefix)/lib
 
 CFLAGS ?= -g -fomit-frame-pointer -O2
 override CFLAGS += -Wall -I.