diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-02 18:12:30 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-02 19:15:03 +0200 |
commit | cd86ba92eca722812ee592001e9b566bf50183b6 (patch) | |
tree | 5e6f1b3b674b16f60bb0799fc87e031c432aa5e6 /wireguard-go-bridge/xcode-build-helper.sh | |
parent | Don't crash on failure to obtain version info and inform user on what is needed to be able to retrieve version info from the Go client. (diff) | |
download | wireguard-apple-cd86ba92eca722812ee592001e9b566bf50183b6.tar.xz wireguard-apple-cd86ba92eca722812ee592001e9b566bf50183b6.zip |
Rewrite bridge build system
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rwxr-xr-x | wireguard-go-bridge/xcode-build-helper.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/wireguard-go-bridge/xcode-build-helper.sh b/wireguard-go-bridge/xcode-build-helper.sh deleted file mode 100755 index b5b467d..0000000 --- a/wireguard-go-bridge/xcode-build-helper.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -cd "$PROJECT_DIR"/wireguard-go-bridge -case $1 in - clean) - make clean - ;; - *) - if [ -e "$DERIVED_FILE_DIR/libwg-go.a" ] - then - echo "Clean before building" - else - make - fi - - ;; -esac - -if [ -f "libwg-go.a" ] -then - mkdir -p "$DERIVED_FILE_DIR" - mv *.a "$DERIVED_FILE_DIR" - ln -sf "$DERIVED_FILE_DIR/libwg-go.a" libwg-go.a -fi |