From b9c260e9176af9947522816dbf83fb7299e7b7a0 Mon Sep 17 00:00:00 2001 From: Yasumasa Suenaga Date: Wed, 3 Jan 2024 17:30:49 +0900 Subject: [PATCH] LIBDIRARCH does not propagate to Makefile (#2214) --- make.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index 1407419461..a1d8fe0219 100755 --- a/make.sh +++ b/make.sh @@ -77,7 +77,8 @@ install() { fi ${MAKE} install else # not OSX - test -d /usr/lib64 && ${MAKE} LIBDIRARCH=lib64 + test -d /usr/lib64 && export LIBDIRARCH=lib64 + ${MAKE} ${MAKE} install fi } @@ -89,7 +90,7 @@ uninstall() { export PKGCFGDIR="$(pkg-config --variable pc_path pkg-config | cut -d ':' -f 1)" ${MAKE} uninstall else # not OSX - test -d /usr/lib64 && LIBDIRARCH=lib64 + test -d /usr/lib64 && export LIBDIRARCH=lib64 ${MAKE} uninstall fi }