diff options
author | Kent Mein <mein@cs.umn.edu> | 2003-02-21 18:37:55 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2003-02-21 18:37:55 +0300 |
commit | 763da870b615419b52efe80cafa9a8e8cf32a303 (patch) | |
tree | f410da24728f1797a837502eed9570ad041bbaf0 /release | |
parent | ad12d5ce677a722836cc80936af69312f9d732b3 (diff) |
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
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile | 2 | ||||
-rw-r--r-- | release/plugins/bmake | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile index 96dd09a208c..265b51316e1 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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 diff --git a/release/plugins/bmake b/release/plugins/bmake index 6d990ad7460..eeee92bc2f2 100644 --- a/release/plugins/bmake +++ b/release/plugins/bmake @@ -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 |