File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1919echo " *** Building the symredirect-host executable ..."
2020clang++ -v -std=c++11 $EXTRA_HEADER_FLAG -o symredirect-host symredirect.cpp
2121
22+ if command -v ldid; then
23+ echo " *** Signing the symredirect-host with entitlements ..."
24+ ldid -S./entitlements.plist ./symredirect-host
25+ fi
26+
27+ if [ -f /basebin/fastPathSign ]; then
28+ echo " *** Signing the symredirect-host with fastPathSign ..."
29+ /basebin/fastPathSign ./symredirect-host
30+ fi
31+
2232echo " *** Checking built symredirect-host executable ..."
2333
2434chmod +x ./symredirect-host
@@ -27,4 +37,5 @@ chmod +x ./symredirect-host
2737
2838echo " *** Installing symredirect-host to /usr/local/bin/symredirect ..."
2939sudo rm -f /usr/local/bin/symredirect # clear signature cache
40+ sudo mkdir -p /usr/local/bin
3041sudo cp symredirect-host /usr/local/bin/symredirect
You can’t perform that action at this time.
0 commit comments