-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -122,16 +122,18 @@ each option: -platform target ... The platform you are building on ($PLATFORM) EOF exit 0; 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 mkdir -p include/qpe ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) mkdir -p include/opie |