From 0e47ae2bd2d38adba9e9bb18c2cfcbd591f0f8bd Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 20 Apr 2016 14:49:43 -0400 Subject: build system: properly use DESTDIR in conjunction with individual variables. --- sysinfo/os/midipix.mk | 4 ++-- sysinfo/os/mingw.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sysinfo') diff --git a/sysinfo/os/midipix.mk b/sysinfo/os/midipix.mk index 715dbcd..d1cc534 100644 --- a/sysinfo/os/midipix.mk +++ b/sysinfo/os/midipix.mk @@ -10,5 +10,5 @@ OS_ARCHIVE_EXT = .a LDFLAGS_CONFIG += -mout-implib install-implib: shared-implib - mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR) - cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR) + mkdir -p $(DESTDIR)$(LIBDIR) + cp $(SHARED_IMPLIB) $(DESTDIR)$(LIBDIR) diff --git a/sysinfo/os/mingw.mk b/sysinfo/os/mingw.mk index 6fbc76d..be3c106 100644 --- a/sysinfo/os/mingw.mk +++ b/sysinfo/os/mingw.mk @@ -11,5 +11,5 @@ CFLAGS_PIC = LDFLAGS_CONFIG += -Wl,--out-implib,$(SHARED_IMPLIB) install-implib: shared-implib - mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR) - cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR) + mkdir -p $(DESTDIR)$(LIBDIR) + cp $(SHARED_IMPLIB) $(DESTDIR)$(LIBDIR) -- cgit v1.2.3