Updated matlab package scripts

release/4.3a0
Richard Roberts 2012-09-06 15:02:08 +00:00
parent aecf50735a
commit 0dc05f5d4e
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/sh
# Compile boost statically, with -fPIC to allow linking it into the mex
# module (which is a dynamic library). --disable-icu prevents depending
# on libicu, which is unneeded and would require then linking the mex
# module with it as well. We just stage instead of install, then the
# toolbox_package_unix.sh script uses the staged boost.
./b2 link=static threading=multi cxxflags=-fPIC cflags=-fPIC --disable-icu -a stage

View File

@ -7,6 +7,8 @@ if [ "$os" = "Linux" -a "$arch" = "x86_64" ]; then
platform=lin64 platform=lin64
elif [ "$os" = "Linux" -a "$arch" = "i686" ]; then elif [ "$os" = "Linux" -a "$arch" = "i686" ]; then
platform=lin32 platform=lin32
elif [ "$os" = "Darwin" -a "$arch" = "x86_64" ]; then
platform=mac64
else else
echo "Unrecognized platform" echo "Unrecognized platform"
exit 1 exit 1