summaryrefslogtreecommitdiff
blob: c6212e6a3a385cd3f2b6190c16ea6bb92f24dc6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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;