From d78be040445a96ffe1acb81f15838ec0b597df74 Mon Sep 17 00:00:00 2001 From: AdachiAndShimamura Date: Tue, 19 Mar 2024 14:06:55 +0800 Subject: [PATCH] fix: fix bug fix bugs --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 399c55d0..bc9d8925 100644 --- a/build.ps1 +++ b/build.ps1 @@ -7,7 +7,7 @@ $WEB_FRONT="$WORK_DIR/libcs/web/front" $env:CC="clang" $env:CXX="clang++" -$env:CXXFLAGS="-I$WEBRTC_DIR/src -I$WEBRTC_DIR/src/third_party/abseil-cpp -I$MSQUIC_DIR/src/inc -std=c++17 -DWEBRTC_WIN -DQUIC_API_ENABLE_PREVIEW_FEATURES -DNOMINMAX" +$env:CGO_CXXFLAGS="-I$WEBRTC_DIR/src -I$WEBRTC_DIR/src/third_party/abseil-cpp -I$MSQUIC_DIR/src/inc -std=c++17 -DWEBRTC_WIN -DQUIC_API_ENABLE_PREVIEW_FEATURES -DNOMINMAX" $env:CGO_LDFLAGS="-L$MSQUIC_DIR/build/windows/x64_schannel/obj/Release -L$WEBRTC_DIR/src/out/release/obj -lmsquic.lib -lwebrtc.lib" $env:CARGO_CFG_TARGET_OS="windows" $env:RUSTFLAGS="-L $MSQUIC_OUT_DIR -l msquic -L $WEBRTC_OUT_DIR -l webrtc"