diff --git a/projects/libstdcpp/build.sh b/projects/libstdcpp/build.sh index 23b2fd8dd..6a5ea81e7 100755 --- a/projects/libstdcpp/build.sh +++ b/projects/libstdcpp/build.sh @@ -35,8 +35,8 @@ for fuzzsrcfile in /src/*.cpp; do $CXXFLAGS \ -std=c++20 \ -nostdinc++ \ - -cxx-isystem $INSTALLDIR/include/c++/14.0.0/ \ - -cxx-isystem $INSTALLDIR/include/c++/14.0.0/x86_64-pc-linux-gnu \ + -cxx-isystem $( echo $INSTALLDIR/include/c++/*/ ) \ + -cxx-isystem $( echo $INSTALLDIR/include/c++/*/x86_64-pc-linux-gnu ) \ $fuzzsrcfile \ -o $OUT/$targetfile \ $LIB_FUZZING_ENGINE \