Changeset 12593


Ignore:
Timestamp:
07/02/12 08:16:57 (13 years ago)
Author:
Eric.Larour
Message:

enable shared libraries, which triggers the fPIC flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/python/install-linux64-astrid.sh

    r12233 r12593  
    2323#Configure doxygen
    2424cd src
    25 ./configure --prefix="$ISSM_DIR/externalpackages/python/install"
     25./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-shared
    2626
    2727if [ -z $1 ]; then
     
    3939        ln -s Python.framework/Versions/3.2/include/python3.2m include
    4040        ln -s Python.framework/Versions/3.2/lib/ lib
    41 
    42 
    4341fi
     42if [[ $version == "2.7.2" ]]; then
     43        cd install/include
     44        cp python2.7/* ./
     45        cd ../lib
     46        ln -s  libpython2.7.so.1.0 libpython.so
     47       
     48fi
Note: See TracChangeset for help on using the changeset viewer.