mirror of
https://github.com/Drop-OSS/libtailscale.git
synced 2026-07-01 06:41:57 -04:00
40f559c067
updates tailscale/tailscale#13937 Adds a Makefile for building various targets. Adds support for building iOS compatible libtailscale_ios.a. Removes SOCKS5 support for iOS where it looks like the CFNetwork support is lacking. Fixes a few unexported symbols in TailscaleKit. Added macOS sample app.
15 lines
296 B
Bash
Executable File
15 lines
296 B
Bash
Executable File
#!/bin/sh
|
|
|
|
|
|
SDK=iphoneos
|
|
PLATFORM=ios
|
|
|
|
CLANGARCH="arm64"
|
|
|
|
SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
|
|
|
|
# cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
|
|
CLANG=`xcrun --sdk $SDK --find clang`
|
|
|
|
exec "$CLANG" -arch $CLANGARCH -isysroot "$SDK_PATH" -m${PLATFORM}-version-min=12.0 "$@"
|