Merge pull request #2059 from andrew-d/adunham/fix-destdir

Fix missing $DESTDIR when installing programs and BUILD_SHARED_LIBS=0
This commit is contained in:
Eelco Dolstra 2018-04-09 09:58:42 +02:00 committed by GitHub
commit 9387163d53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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