diff options
author | Roy Marples <roy@marples.name> | 2008-01-05 21:05:19 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-05 21:05:19 +0000 |
commit | ddb3ab47046dcedd88ffbf84a44a0a42438bc9e3 (patch) | |
tree | cf4dfd13206296ae698ba513e3797c7ec51e0180 /default.mk | |
parent | 75815abd6ca9c6562c354eca7f314a1618678ad9 (diff) |
Use LIBNAME for multilib so as not to conflict with LIB
Diffstat (limited to 'default.mk')
-rw-r--r-- | default.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |