mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
17 lines
203 B
Bash
17 lines
203 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
OUT_DIR="$1"
|
|
INCLUDE_DIR="$2"
|
|
shift
|
|
shift
|
|
LIBS="$@"
|
|
|
|
mkdir -p "$OUT_DIR/lib"
|
|
|
|
/usr/bin/lipo $LIBS -output "$OUT_DIR/lib/libcrypto.a" -create
|
|
cp -r "$INCLUDE_DIR" "$OUT_DIR/"
|
|
|