view strip_fPIC.sh @ 767:d9e79e31a7b7

Date: Mon, 17 Nov 2003 21:59:24 -0800 From: Pete Shinners Subject: [SDL] directfb cursor patch here is a quick and dirty patch that allows directfb to change the visibility of the cursor. this display backend still has no way to change the actual cursor shape, but being able to set the cursor visibility is a simple change that should offer some benefits. the code was largely based on the cursor code for other sdl backends. and this documentation. http://directfb.org/documentation/DirectFB_Reference/IDirectFBDisplayLayer_SetCursorOpacity.html
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Jan 2004 15:57:16 +0000
parents 48c34d68918e
children
line wrap: on
line source

#!/bin/sh
#
# libtool assumes that the compiler can handle the -fPIC flag
# This isn't always true (for example, nasm can't handle it)
command=""
while [ $# -gt 0 ]; do
    case "$1" in
        -?PIC)
            # Ignore -fPIC and -DPIC options
            ;;
        *)
            command="$command $1"
            ;;
    esac
    shift
done
echo $command
exec $command