From a618935584d1a5b9c55363f17e2c491febd46d5f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 23 Nov 2007 22:43:45 +0000 Subject: Try and work out multilib --- default.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/default.mk b/default.mk index 3bc064ac..67df14dc 100644 --- a/default.mk +++ b/default.mk @@ -2,7 +2,9 @@ # We shouldn't use PREFIX as we need to install into / DESTDIR = -LIB = lib +_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 INSTALL ?= install -- cgit v1.2.3