view strip_fPIC.sh @ 805:df1a3218b468

Date: Wed, 04 Feb 2004 13:51:56 +0100 From: Jens Leuschner Subject: Small patch for libSDL In newer XFree86 releases in the German keyboard the "AltGr"-Key no longer produces the keysym "Mode_switch", instead it produces "ISO_Level3_Shift". I have created a small patch against SDL-1.2.6 (which cleanly applies to the current CVS-SDL too) that makes SDL recognize ISO_Level3_Shift as AltGR key.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Feb 2004 15:39:15 +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