Repository: qpid-proton
Updated Branches:
  refs/heads/master 6738c16ff -> 38bf12f9b


NO-JIRA: Fix break in Javascript bindings build

Attempting to build Proton with Emscripten on the path fails with the following
message:
/home/prestona/git/qpid-proton/examples/c/messenger/recv-async.c:26:10: fatal
error: 'pncompat/misc_funcs.inc' file not found
#include "pncompat/misc_funcs.inc"
         ^
1 error generated.

This appears to have been introduced by commit
84e416e389fe74ec7a1cab9252af2342fc95b83f


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/46f94969
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/46f94969
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/46f94969

Branch: refs/heads/master
Commit: 46f949699531b873f10b301aae0e73ff1ed8220a
Parents: c7dff22
Author: Adrian Preston <[email protected]>
Authored: Thu Mar 31 14:10:34 2016 +0100
Committer: Adrian Preston <[email protected]>
Committed: Thu Mar 31 14:21:58 2016 +0100

----------------------------------------------------------------------
 proton-c/bindings/javascript/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/46f94969/proton-c/bindings/javascript/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/javascript/CMakeLists.txt 
b/proton-c/bindings/javascript/CMakeLists.txt
index ea06e07..368a2fb 100644
--- a/proton-c/bindings/javascript/CMakeLists.txt
+++ b/proton-c/bindings/javascript/CMakeLists.txt
@@ -192,6 +192,7 @@ target_link_libraries(qpid-proton-bitcode)
 
 
 # Compile the send-async.c and recv-async.c examples into JavaScript
+include_directories(${PN_PATH}/../examples/c/include)
 add_executable(send-async.js ${PN_PATH}/../examples/c/messenger/send-async.c)
 target_link_libraries(send-async.js qpid-proton-bitcode)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to