SDL 0.11.2 Compiling problem - strip_fPIC

Michael Fletcher wrote:

Nasm is called like so on my Debian 2.1 system

SDL needs a small change to compile.

change this
if [ “$1” != “-fPIC” ]; then
command="$command $1"
fi

to this
if [ “$1” != “-fPIC” ]; then
if [ “$1” != “-DPIC” ]; then
command="$command $1"
fi
fi

Fixed in CVS, thanks!–
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Nasm is called like so on my Debian 2.1 system

SDL needs a small change to compile.

change this
if [ “$1” != “-fPIC” ]; then
command="$command $1"
fi

to this
if [ “$1” != “-fPIC” ]; then
if [ “$1” != “-DPIC” ]; then
command="$command $1"
fi
fi