--- ../libucontext-libucontext-1.1/Makefile	2021-03-09 07:46:31.000000000 +0000
+++ ./Makefile	2022-02-11 13:33:41.720671627 +0000
@@ -17,9 +17,9 @@
 	override ARCH = aarch64
 endif
 
-LIBDIR := /lib
-INCLUDEDIR := /usr/include
-PKGCONFIGDIR := /usr/lib/pkgconfig
+LIBDIR := $(PREFIX)/lib
+INCLUDEDIR := $(PREFIX)/include
+PKGCONFIGDIR := $(PREFIX)/lib/pkgconfig
 CFLAGS ?= -ggdb3 -O2 -Wall
 CPPFLAGS := -Iinclude -Iarch/${ARCH} -Iarch/common
 ifneq ($(shell uname),Darwin)
