From 3c3684274621e64a3ca34d561f2ddb1b7b8c2254 Mon Sep 17 00:00:00 2001 From: Henrique Bucher Date: Tue, 2 Aug 2022 22:48:47 -0500 Subject: [PATCH] Fixes the include directory in the pkgconfig file when it is customized in the make command line --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 10c83c73..cf4b5460 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,8 @@ INSTALL_F= install -m 0644 UNINSTALL= $(RM) LDCONFIG= ldconfig -n 2>/dev/null SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ - -e "s|^multilib=.*|multilib=$(MULTILIB)|" + -e "s|^multilib=.*|multilib=$(MULTILIB)|" \ + -e "s|^includedir=.*|includedir=$(INSTALL_INC)|" FILE_T= luajit FILE_A= libluajit.a