This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git
The following commit(s) were added to refs/heads/master by this push:
new 9d3210b Fix a compiling issue (#526) (#527)
9d3210b is described below
commit 9d3210ba45e8c5161042fb1664be5384bf71b32e
Author: Gordon King <[email protected]>
AuthorDate: Tue Jul 20 10:30:29 2021 -0700
Fix a compiling issue (#526) (#527)
* Python.h not found when compiling acs_py_enclave.c
Signed-off-by: Gordon <[email protected]>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95dc495..94b9aff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,7 +217,7 @@ add_library(pycomponent STATIC
${TEACLAVE_OUT_DIR}/acs_py_enclave.c)
set_target_properties(pycomponent PROPERTIES ARCHIVE_OUTPUT_DIRECTORY
${TEACLAVE_OUT_DIR})
target_compile_definitions(pycomponent PUBLIC SGX)
-if(NOT EXISTS "/usr/lib/pypy/include")
+if(NOT EXISTS "/usr/lib/pypy/include/Python.h")
message(
FATAL_ERROR
"pypy development package not found\nFor Ubuntu, please run `apt-get
install pypy-dev`"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]