[Asterisk-code-review] Build System: Resolve conflict between DESTDIR and bundled j... (asterisk[13])

Corey Farrell asteriskteam at digium.com
Mon Sep 10 22:35:57 CDT 2018


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/10073


Change subject: Build System: Resolve conflict between DESTDIR and bundled jansson.
......................................................................

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
---
M third-party/jansson/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/73/10073/1

diff --git a/third-party/jansson/Makefile b/third-party/jansson/Makefile
index 2585350..ca57b1a 100644
--- a/third-party/jansson/Makefile
+++ b/third-party/jansson/Makefile
@@ -55,7 +55,7 @@
 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:
 

-- 
To view, visit https://gerrit.asterisk.org/10073
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id033e2813261e0d45232383d44c6391122169548
Gerrit-Change-Number: 10073
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180910/1907aaee/attachment-0001.html>


More information about the asterisk-code-review mailing list