Skip to content

Commit

Permalink
ensure we also strip the OpenGL module: strip after we unpack it
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@14177 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 17, 2016
1 parent eab842a commit 2e4830b
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions osx/make-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,19 +150,6 @@ for x in "*.c" "*.pyx" "*.pxd" "constants.pxi" "constants.txt"; do
find $LIBDIR/python/xpra/ -name "$x" -print -exec rm "{}" \; | sed "s+$LIBDIR/python/xpra/++g" | xargs -L 1 echo "* "
done

if [ "$STRIP_SOURCE" == "1" ]; then
echo "removing py if we have the pyc:"
#only remove ".py" source if we have a binary ".pyc" for it:
for x in `find $LIBDIR/python/xpra -name "*.py" -type f`; do
d="`dirname $x`"
f="`basename $x`"
if [ -r "$d/${f}c" ]; then
echo "* $x"
rm "$x"
fi
done
fi


echo
echo "*******************************************************************************"
Expand Down Expand Up @@ -224,6 +211,21 @@ if [ "$STRIP_NUMPY" == "1" ]; then
popd
fi


if [ "$STRIP_SOURCE" == "1" ]; then
echo "removing py if we have the pyc:"
#only remove ".py" source if we have a binary ".pyc" for it:
for x in `find $LIBDIR -name "*.py" -type f`; do
d="`dirname $x`"
f="`basename $x`"
if [ -r "$d/${f}c" ]; then
#echo "* $x"
rm "${x}"
fi
done
fi


#gst bits expect to find dylibs in Frameworks!?
pushd ${CONTENTS_DIR}
ln -sf Resources/lib Frameworks
Expand Down

0 comments on commit 2e4830b

Please sign in to comment.