summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 0241adf..299e867 100755
--- a/configure
+++ b/configure
@@ -127,6 +127,8 @@ fi
-if [ -f library/custom-$PLATFORM.h ]
+CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"`
+
+if [ -f library/custom-$CUSTOM.h ]
then
rm -f library/custom.h
- ln -s custom-$PLATFORM.h library/custom.h
+ ln -s custom-$CUSTOM.h library/custom.h
fi