From ddb3ab47046dcedd88ffbf84a44a0a42438bc9e3 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 5 Jan 2008 21:05:19 +0000 Subject: Use LIBNAME for multilib so as not to conflict with LIB --- default.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'default.mk') diff --git a/default.mk b/default.mk index 580648c7..51be6859 100644 --- a/default.mk +++ b/default.mk @@ -1,10 +1,10 @@ # Common makefile settings # We shouldn't use PREFIX as we need to install into / -_LIB_SH = l=`readlink /lib`; case "$$l" in /lib64|lib64) echo "lib64";; *) echo "lib";; esac -_LIB != $(_LIB_SH) -LIB = $(_LIB)$(shell $(_LIB_SH)) -RC_LIB = /$(LIB)/rc +_LIBNAME_SH = l=`readlink /lib`; case "$$l" in /lib64|lib64) echo "lib64";; *) echo "lib";; esac +_LIBNAME != $(_LIB_SH) +LIBNAME = $(_LIBNAME)$(shell $(_LIBNAME_SH)) +RC_LIB = /$(LIBNAME)/rc INSTALL ?= install -- cgit v1.2.3