Changeset 11457


Ignore:
Timestamp:
02/16/12 15:08:59 (13 years ago)
Author:
Mathieu Morlighem
Message:

FIxing compilation for mac mexmaci64 (wrong path and mexversion.o undefined)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r11455 r11457  
    7676                                dnl if matlab version is 7.10 or more, we must use mexmaci64 (64 bits)
    7777                                MEXLINK="-O -Wl,-flat_namespace -undefined suppress -arch i386 -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci/mexFunction.map"
     78                                MEXLIB=" mexversion.o -L$MATLAB_ROOT/bin/maci/ -lmx -lmex -lmat -lstdc++ -largeArrayDims"
    7879                                if test $MATLAB_MAJOR -ge 7; then
    7980                                         if test $MATLAB_MINOR -ge 10; then
    8081                                                  MEXLINK="-O -Wl,-flat_namespace -undefined suppress -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci64/mexFunction.map"
     82                                                         MEXLIB=" -L$MATLAB_ROOT/bin/maci64/ -lmx -lmex -lmat -lstdc++"
    8183                                         fi
    8284                                fi
    8385
    84                                 MEXLIB=" mexversion.o -L$MATLAB_ROOT/bin/maci/ -lmx -lmex -lmat -lstdc++ -largeArrayDims"
    8586                                MEXEXT=`$MATLAB_ROOT/bin/mexext`
    8687                                MEXEXT=".$MEXEXT"
Note: See TracChangeset for help on using the changeset viewer.