Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/sharpsvn-binary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'fix_links.sh')
-rwxr-xr-xfix_links.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/fix_links.sh b/fix_links.sh
new file mode 100755
index 0000000..2b886af
--- /dev/null
+++ b/fix_links.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+cd mac
+for i in *; do
+ install_name_tool -id "$i" "$i"
+ for j in *; do
+ test "$i" == "$j" && continue
+ install_name_tool -change "/usr/local/lib/$j" "@loader_path/$j" "$i"
+ done
+done
+