--- blender-2.31a.orig/release/plugins/bmake 2003-12-04 21:12:20.000000000 +1300 +++ blender-2.31a/release/plugins/bmake 2003-12-04 21:13:12.000000000 +1300 @@ -60,7 +60,7 @@ LDFLAGS="-Bshareable"; elif ( test $UNAME = "Linux" ) then CC="gcc"; - CFLAGS="-fPIC -funsigned-char -O2"; +# CFLAGS="-fPIC -funsigned-char -O2"; LD="ld"; LDFLAGS="-Bshareable"; @@ -112,6 +112,8 @@ INCLUDES=-I..; elif ( test -f "../include/plugin.h" ) then INCLUDES=-I../include +elif ( test -f "../../../source/blender/blenpluginapi/plugin.h" ) then + INCLUDES=-I../../../source/blender/blenpluginapi else echo "Couldn't find plugin.h"; exit;