aboutsummaryrefslogtreecommitdiffstats
path: root/sysroot.sh
diff options
context:
space:
mode:
author1Conan <7620342+1Conan@users.noreply.github.com>2021-11-05 01:47:21 +0800
committerGitHub <noreply@github.com>2021-11-04 13:47:21 -0400
commitc1662728c3a87abda8aa737a334539d4189ab18b (patch)
treed65949caaceb10ee97d2dff2ce75d07e56e56d4c /sysroot.sh
parentdf1cc52eccb739c2561e6002b18dee0c48137f1a (diff)
downloadldid-c1662728c3a87abda8aa737a334539d4189ab18b.tar.gz
ldid-c1662728c3a87abda8aa737a334539d4189ab18b.tar.zst
ldid-c1662728c3a87abda8aa737a334539d4189ab18b.zip
Cleanup and switch to a Makefile (#7)
Diffstat (limited to 'sysroot.sh')
-rwxr-xr-xsysroot.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/sysroot.sh b/sysroot.sh
deleted file mode 100755
index e595621..0000000
--- a/sysroot.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-set -e
-
-rm -rf sysroot32 sysroot64
-mkdir -p sysroot32 sysroot64
-
-function merge() {
- wget --no-check-certificate "${apt}/$1"
- dpkg-deb -x "$1" .
-}
-
-pushd sysroot32
-apt=http://apt.saurik.com/debs
-merge openssl_0.9.8zg-13_iphoneos-arm.deb
-merge libplist_2.0.0-1_iphoneos-arm.deb
-popd
-
-pushd sysroot64
-apt=https://apt.bingner.com/debs/1443.00
-merge libssl1.0_1.0.2q-1_iphoneos-arm.deb
-merge libssl-dev_1.0.2q-1_iphoneos-arm.deb
-merge libplist_2.0.0-1_iphoneos-arm.deb
-popd
-
-for lib in libplist libcrypto; do
- for dylib in sysroot*/usr/lib/"${lib}".*.dylib; do
- echo install_name_tool -id /usr/lib/"${lib}".dylib "${dylib}"
- chmod 755 "${dylib}"
- install_name_tool -id /usr/lib/"${lib}".dylib "${dylib}"
- done
-done