Allow building from somewhere other than the source directory SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sat, 04 Feb 2012 18:12:20 -0500
branchSDL-1.2
changeset 6279 8e98c714bb2a
parent 6249 900a0fae90ca
child 6289 62ff1c0a103f
Allow building from somewhere other than the source directory
build-scripts/fatbuild.sh
--- a/build-scripts/fatbuild.sh	Sun Jan 22 13:47:21 2012 -0500
+++ b/build-scripts/fatbuild.sh	Sat Feb 04 18:12:20 2012 -0500
@@ -42,6 +42,7 @@
 # Find the configure script
 #
 srcdir=`dirname $0`/..
+srcdir=`cd $srcdir && pwd`
 auxdir=$srcdir/build-scripts
 cd $srcdir