another OSX/PPC fix
authorRobin Gareus <robin@gareus.org>
Sun, 19 Jul 2015 23:09:01 +0000 (01:09 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 19 Jul 2015 23:09:01 +0000 (01:09 +0200)
tools/osx_packaging/osx_build

index 778805c9686fbe5ae98431df3e611478ea8efd93..ec2ad7f1c6ff04f9eeaa2c6e9069c4548c5aa94e 100755 (executable)
@@ -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