summaryrefslogtreecommitdiff
path: root/support-files/MacOSX/mwar-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'support-files/MacOSX/mwar-wrapper')
-rwxr-xr-xsupport-files/MacOSX/mwar-wrapper16
1 files changed, 16 insertions, 0 deletions
diff --git a/support-files/MacOSX/mwar-wrapper b/support-files/MacOSX/mwar-wrapper
new file mode 100755
index 00000000000..4bc5153e7ef
--- /dev/null
+++ b/support-files/MacOSX/mwar-wrapper
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# This script can only create a library, not take it apart
+# again to AR files
+
+case $1 in
+ -d*|-m*|-t*|-p*|-r*|-x*|x)
+ echo "$0: can't handle arguments $*"
+ exit 1;
+ ;;
+ -c|c|cr|cru|cu)
+ shift;
+ ;;
+esac
+
+exec mwld -lib -o $*