X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/4afaecdd25eb53949f523e5d4891d5dbbfadb63d..a791c23f158a36ecdedd156400872f4dd9d83884:/projects/stargazer/build diff --git a/projects/stargazer/build b/projects/stargazer/build index 488836cb..f8fb7363 100755 --- a/projects/stargazer/build +++ b/projects/stargazer/build @@ -346,7 +346,7 @@ else fi printf "Checking for -lnfnetlink... " -printf "#include \nint main() { return 0; }\n" > build_check.c +printf "#include \n#include \n#include \nint main() { return 0; }\n" > build_check.c $CXX $CXXFLAGS $LDFLAGS build_check.c -lnfnetlink -o fake > /dev/null 2> /dev/null if [ $? != 0 ] then @@ -359,7 +359,7 @@ fi rm -f fake printf "Checking for -lnetfilter_queue... " -printf "#include \nint main() { return 0; }\n" > build_check.c +printf "#include \n#include \nint main() { return 0; }\n" > build_check.c $CXX $CXXFLAGS $LDFLAGS build_check.c -lnetfilter_queue -o fake > /dev/null 2> /dev/null if [ $? != 0 ] then