Commit ab9f12c7 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Fix missing $ in CMOCKA_CFLAGS when --with-cmocka=<path> was used

parent 28cf1a7a
Pipeline #3825 passed with stages
in 8 minutes and 28 seconds
......@@ -22078,7 +22078,7 @@ ac_res=$ac_cv_search_cmocka_set_message_output
if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
CMOCKA_CFLAGS="-Iwith_cmocka/include"
CMOCKA_CFLAGS="-I$with_cmocka/include"
CMOCKA_LIBS="-L$with_cmocka/lib -lcmocka"
 
else
......
......@@ -3667,7 +3667,7 @@ AS_CASE([$with_cmocka],
AC_SEARCH_LIBS([cmocka_set_message_output],
[cmocka],
[
CMOCKA_CFLAGS="-Iwith_cmocka/include"
CMOCKA_CFLAGS="-I$with_cmocka/include"
CMOCKA_LIBS="-L$with_cmocka/lib -lcmocka"
],
[AC_MSG_ERROR([cmocka unit testing framework not found in $with_cmocka path])])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment