From fd26c1a2f0eb9ea53b41e471b1ea31cf341ac151 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Sat, 25 May 2019 09:58:30 +0100 Subject: configure: move directory options to ./configure libdir is hardcoded to ${prefix}/lib in Makefile. Fedora x86_64 uses /usr/lib64 and this means libaries will be installed in the wrong place. This patch moves prefix, includedir, libdir, and mandir into ./configure for easier customization. To build and install on Fedora x86_64: # ./configure --libdir=/usr/lib64 # make && make install Signed-off-by: Stefan Hajnoczi Signed-off-by: Jens Axboe --- Makefile | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6755713..ea639d6 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,6 @@ TAG = $(NAME)-$(VERSION) RPMBUILD=$(shell `which rpmbuild >&/dev/null` && echo "rpmbuild" || echo "rpm") INSTALL=install -prefix ?= /usr -includedir=$(prefix)/include -libdir=$(prefix)/lib -mandir=$(prefix)/man default: all -- cgit