Skip to content

Commit a98d01e

Browse files
etienne-lmsjforissier
authored andcommitted
pluging: add missing of dependency syslog on teec
Adds missing dependency of plugins/syslog example on libteec header files that are brought in by libteec. The issue was reported by compiler with the below build error message: /tmp/optee/optee_examples/plugins/syslog/syslog_plugin.c:8:10: fatal error: tee_plugin_method.h: No such file or directory 8 | #include <tee_plugin_method.h> | ^~~~~~~~~~~~~~~~~~~~~ Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
1 parent 3ca8454 commit a98d01e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/syslog/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ set (CMAKE_SHARED_LIBRARY_PREFIX "")
55

66
add_library(${PROJECT_NAME} SHARED syslog_plugin.c)
77

8+
target_link_libraries (${PROJECT_NAME} PRIVATE teec)
9+
810
install (TARGETS ${PROJECT_NAME} DESTINATION ${CFG_TEE_PLUGIN_LOAD_PATH})

0 commit comments

Comments
 (0)