Closed sh4d0wlesss closed 1 month ago
i think i solved added this lines to configure.ac file
#-----------------------------------------------------------------------------
AC_CHECK_HEADERS([jansson.h],,
AC_MSG_ERROR([please install Jansson library]))
AC_CHECK_LIB(jansson, json_loadb,,
AC_MSG_ERROR([please install Jansson library]))
CFLAGS="$CFLAGS -DMY_MODULE"
PC_REQUIRES_PRIVATE="$PC_REQUIRES_PRIVATE jansson"
#-----------------------------------------------------------------------------
Yes, that's correct.
Im trying to write a new module, i installed jansson lib and added header file to my module as
#include <jansson.h>
.When i try to build yara with my module it gives this error:(i can run bootstrap and configure scripts without error)