about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-04-09T07·58+0200
committerGitHub <noreply@github.com>2018-04-09T07·58+0200
commit9387163d53b30bfb1bd963395bcbc17a2a027cf5 (patch)
tree9684ce782395574c9dd85b1359343e344d894411
parentb828051659cf7cac21577982afd3f9314dc2e68c (diff)
parentf8ab9cef6ce9f116682f0dab81243cb61294c887 (diff)
Merge pull request #2059 from andrew-d/adunham/fix-destdir
Fix missing $DESTDIR when installing programs and BUILD_SHARED_LIBS=0
-rw-r--r--mk/programs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/programs.mk b/mk/programs.mk
index 3ac64494e3a5..2fbda12bd153 100644
--- a/mk/programs.mk
+++ b/mk/programs.mk
@@ -51,7 +51,7 @@ define build-program
   else
 
     $(DESTDIR)$$($(1)_INSTALL_PATH): $$($(1)_PATH) | $(DESTDIR)$$($(1)_INSTALL_DIR)/
-	install -t $$($(1)_INSTALL_DIR) $$<
+	install -t $(DESTDIR)$$($(1)_INSTALL_DIR) $$<
 
   endif