Updated matlab package scripts
parent
aecf50735a
commit
0dc05f5d4e
|
@ -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
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue