LIBDIRARCH does not propagate to Makefile (#2214)

This commit is contained in:
Yasumasa Suenaga 2024-01-03 17:30:49 +09:00 committed by GitHub
parent 0cd3f2cee9
commit b9c260e917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}