buildfix for srcdir != builddir

This commit is contained in:
Tilman Keskinöz 2025-05-22 18:59:51 +02:00
parent aab47091b1
commit 0bcabf3208
No known key found for this signature in database
GPG Key ID: 6E2CAEEFF1331ECE
3 changed files with 5 additions and 5 deletions

View File

@ -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 \

View File

@ -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 =

View File

@ -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) \