diff --git a/projects/s2opc/build.sh b/projects/s2opc/build.sh index c1b5f8d29..61d3be218 100755 --- a/projects/s2opc/build.sh +++ b/projects/s2opc/build.sh @@ -38,7 +38,8 @@ make -j$(nproc) install mkdir -p $S2OPC_BUILD cd $S2OPC_BUILD cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_C_COMPILER="$CC" -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_LINKER="$CXX" -DCMAKE_EXE_LINKER_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_COMPILER="$CC" -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_EXE_LINKER_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_LINK_EXECUTABLE="$CXX -o " \ -DWITH_OSS_FUZZ=ON \ $SRC/S2OPC cmake --build . --target fuzzers