Browse Source

create DEVEL_PREFIX/MULTILIB_DIR dir rather than DEVEL_PREFIX/lib

This fixes issue with GNU Make 3.82 when running:

 make install DESTDIR=$someplace

Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Natanael Copa 13 years ago
parent
commit
e2903ddb06
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile.in

+ 2 - 2
Makefile.in

@@ -280,10 +280,10 @@ HEADERS_RM-$(UCLIBC_SUSV4_LEGACY)            += utime.h
 	### ucontext.h
 
 ifneq ($(findstring install,$(MAKECMDGOALS)),)
-$(addprefix $(PREFIX)$(DEVEL_PREFIX),include lib):
+$(addprefix $(PREFIX)$(DEVEL_PREFIX),include $(MULTILIB_DIR)):
 	$(do_mkdir)
 # avoid warning about duplicate targets in rule or overrides
-ifneq ($(abspath $(RUNTIME_PREFIX)$(MULTILIB_DIR)),$(abspath $(DEVEL_PREFIX)lib))
+ifneq ($(abspath $(RUNTIME_PREFIX)$(MULTILIB_DIR)),$(abspath $(DEVEL_PREFIX)$(MULTILIB_DIR)))
 $(PREFIX)$(RUNTIME_PREFIX)$(MULTILIB_DIR):
 	$(do_mkdir)
 endif