mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-12 21:06:01 +03:00
buildfix for srcdir != builddir
This commit is contained in:
parent
aab47091b1
commit
0bcabf3208
@ -63,7 +63,7 @@ cppcheck:
|
||||
--enable=warning,style,performance,portability,unusedFunction,missingInclude \
|
||||
--inconclusive \
|
||||
--template="warning: {file},{line},{severity},{id},{message}" \
|
||||
-I headers -I . -I others -I src -I others/mbedtls/include \
|
||||
-I headers -I . -I $(top_srcdir)/others -I $(top_srcdir)/src -I $(top_srcdir)/others/mbedtls/include \
|
||||
--error-exitcode=1 \
|
||||
-i "src/parser/seclang-parser.cc" -i "src/parser/seclang-scanner.cc" \
|
||||
-i others \
|
||||
|
@ -28,6 +28,6 @@ libmbedtls_la_SOURCES = \
|
||||
mbedtls/library/sha1.c \
|
||||
mbedtls/library/platform_util.c
|
||||
|
||||
libmbedtls_la_CFLAGS = -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include
|
||||
libmbedtls_la_CFLAGS = -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -I$(top_srcdir)/others/mbedtls/include
|
||||
libmbedtls_la_CPPFLAGS =
|
||||
libmbedtls_la_LIBADD =
|
||||
|
@ -72,7 +72,7 @@ unit_tests_LDFLAGS = \
|
||||
|
||||
unit_tests_CPPFLAGS = \
|
||||
-Icommon \
|
||||
-I../ \
|
||||
-I$(srcdir)/../ \
|
||||
-g \
|
||||
-I$(top_builddir)/headers \
|
||||
$(CURL_CFLAGS) \
|
||||
@ -127,7 +127,7 @@ regression_tests_LDFLAGS = \
|
||||
|
||||
regression_tests_CPPFLAGS = \
|
||||
-Icommon \
|
||||
-I../ \
|
||||
-I$(srcdir)../ \
|
||||
-g \
|
||||
-I$(top_builddir)/headers \
|
||||
$(CURL_CFLAGS) \
|
||||
@ -179,7 +179,7 @@ rules_optimization_LDFLAGS = \
|
||||
|
||||
rules_optimization_CPPFLAGS = \
|
||||
-Icommon \
|
||||
-I../ \
|
||||
-I$(srcdir)/../ \
|
||||
-g \
|
||||
-I$(top_builddir)/headers \
|
||||
$(CURL_CFLAGS) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user