5276fee313
-properly libtoolize some libraries to get dynamically loadable modules, use a hack from SDL to make libtool work with nasm (thanks wiz for the hint) -run aclocal and autoconf, otherwise the autoconf version skew scews things up XXX we shouldn't use autoconf et al for the build but commit patches to configure and Makefile.in -make sure we don't get trapped by the X11R6 freetype2 nonsense
18 lines
373 B
Bash
Executable file
18 lines
373 B
Bash
Executable file
#!/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
|