summaryrefslogtreecommitdiff
path: root/tools/osx_packaging
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-07-20 01:09:01 +0200
committerRobin Gareus <robin@gareus.org>2015-07-20 01:09:01 +0200
commit7a3280bbc25d48194102f7db69f0d60bc47dbe5c (patch)
tree5e4ac5ffc2d036168fe6b39d42e8723c940c5a96 /tools/osx_packaging
parent7742d07b3ab40916b09352d97bc708d08ead2255 (diff)
another OSX/PPC fix
Diffstat (limited to 'tools/osx_packaging')
-rwxr-xr-xtools/osx_packaging/osx_build4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 778805c968..ec2ad7f1c6 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -410,6 +410,10 @@ while [ true ] ; do
if ! file $file | grep -qs Mach-O ; then
continue
fi
+ # libffi contains "S" (other section symbols) that should not be stripped.
+ if [[ $string == *"libffi"* ]] ; then
+ continue
+ fi
if test x$STRIP != x ; then
strip -u -r -arch all $file &>/dev/null