[Asterisk-code-review] pjproject bundled: Fix issue where "/version.mak" wasn't found (asterisk[13])

George Joseph asteriskteam at digium.com
Fri Oct 28 17:02:35 CDT 2016


George Joseph has uploaded a new change for review. ( https://gerrit.asterisk.org/4225 )

Change subject: pjproject_bundled:  Fix issue where "/version.mak" wasn't found
......................................................................

pjproject_bundled:  Fix issue where "/version.mak" wasn't found

main/Makefile includes third-party/pjproject/build.mak but
doesn't set PJDIR beforehand so "include $(PJDIR)/version.mak"
evaluates to "/version.mak".  Fix is to set PJDIR in main/Makefile
before the include.

Change-Id: I0f7c67d60209049056fe9c4b041bf0463aa95604
---
M main/Makefile
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/25/4225/1

diff --git a/main/Makefile b/main/Makefile
index e476969..e0b7135 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -253,6 +253,7 @@
 ASTPJ_SO_VERSION=2
 ASTPJ_LDLIBS=-L. -lasteriskpj
 
+PJDIR=$(ASTTOPDIR)/$(PJPROJECT_DIR)/source
 -include $(ASTTOPDIR)/$(PJPROJECT_DIR)/build.mak
 
 PJPROJECT_LDLIBS := \

-- 
To view, visit https://gerrit.asterisk.org/4225
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f7c67d60209049056fe9c4b041bf0463aa95604
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <gjoseph at digium.com>



More information about the asterisk-code-review mailing list