The first two files enables building of plugins under macosx.
The third is for actually loading the plugins in blender. For some reason its not identifying the plugins correctly, but it compiles and runs so I'm including it hoping someone else might see where I've messed things up... I have a simple example at http://www.cs.umn.edu/~mein/test.tgz that works, if anyone is interested in playing with it. Kent
This commit is contained in:
@@ -81,7 +81,7 @@ all:
|
||||
NOPLUGINS="true" NOSTRIP="true"
|
||||
endif
|
||||
ifeq ($(OS),darwin)
|
||||
@$(MAKE) pkg TYPE="" TAR="tar cf" EXT0"=.app" EXT1=".tar" NOPLUGINS="true" \
|
||||
@$(MAKE) pkg TYPE="" TAR="tar cf" EXT0"=.app" EXT1=".tar" \
|
||||
COMPRESS="gzip -f --best" EXT2=".gz"
|
||||
endif
|
||||
|
||||
|
@@ -74,8 +74,8 @@ elif ( test $UNAME = "Darwin" ) then
|
||||
CC="cc";
|
||||
CFLAGS="-fPIC -funsigned-char -O2 -fno-common";
|
||||
LD="cc";
|
||||
LDFLAGS=" -dynamiclib -lm";
|
||||
EXT="dylib";
|
||||
LDFLAGS=" -bundle -bundle_loader ../../blender.app/Contents/MacOS/blender -lm";
|
||||
EXT="so";
|
||||
fi
|
||||
|
||||
if ( test "$#" = "1" ) then
|
||||
|
Reference in New Issue
Block a user