Skip to content

Commit

Permalink
fix CGO_LDFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
yiguo committed Aug 27, 2024
1 parent 7f89764 commit ebd5526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/app/apple_go.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def run_build_cmd(
run_env["CXX"] = f"xcrun --sdk {sdk} --toolchain {sdk} clang++"
run_env["CGO_CFLAGS"] = flags
run_env["CGO_CXXFLAGS"] = flags
run_env["CGO_LDFLAGS"] = f"${flags} -Wl,-Bsymbolic-functions"
run_env["CGO_LDFLAGS"] = f"{flags} -Wl,-Bsymbolic-functions"
run_env["CGO_ENABLED"] = "1"
run_env["DARWIN_SDK"] = sdk

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/xtls/libxray

go 1.22.5
go 1.23.0

require (
github.com/xtls/xray-core v1.8.23
Expand Down

0 comments on commit ebd5526

Please sign in to comment.