Use LIBNAME for multilib so as not to conflict with LIB
This commit is contained in:
		| @@ -10,10 +10,10 @@ include Makefile.$(OS) | ||||
|  | ||||
| install:: | ||||
| 	@# Handle lib correctly | ||||
| 	if test $(LIB) != "lib"; then \ | ||||
| 		sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/functions.sh || exit $$?; \ | ||||
| 	if test $(LIBNAME) != "lib"; then \ | ||||
| 		sed -i'.bak' -e 's,/lib/,/$(LIBNAME)/,g' $(DESTDIR)/$(RC_LIB)/sh/functions.sh || exit $$?; \ | ||||
| 		rm -f $(DESTDIR)/$(RC_LIB)/sh/functions.sh.bak; \ | ||||
| 		sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh || exit $$?; \ | ||||
| 		sed -i'.bak' -e 's,/lib/,/$(LIBNAME)/,g' $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh || exit $$?; \ | ||||
| 		rm -f $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh.bak; \ | ||||
| 	fi | ||||
| 	@# Provide an init script for the loopback interface | ||||
|   | ||||
		Reference in New Issue
	
	Block a user