Build System: Resolve conflict between DESTDIR and bundled jansson.

If Asterisk is built using a DESTDIR this will cause the bundled jansson
to be installed to an unexpected location and we will fail to find it.

Change-Id: Id033e2813261e0d45232383d44c6391122169548
This commit is contained in:
Corey Farrell
2018-09-10 23:28:04 -04:00
parent 29d4109b3c
commit 28b32fbd44

View File

@@ -55,7 +55,7 @@ SHELL_ECHO_PREFIX := echo '[jansson] '
dest/include/jansson.h: source/config.status
$(ECHO_PREFIX) Building bundled jansson.
$(CMD_PREFIX) (cd source; make $(REALLY_QUIET))
$(CMD_PREFIX) (cd source; make install $(REALLY_QUIET))
$(CMD_PREFIX) (cd source; make install DESTDIR= $(REALLY_QUIET))
.DELETE_ON_ERROR: