]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix pb with python detection
authorvsr <vsr@opencascade.com>
Mon, 6 May 2013 06:13:46 +0000 (06:13 +0000)
committervsr <vsr@opencascade.com>
Mon, 6 May 2013 06:13:46 +0000 (06:13 +0000)
config_files/swig.sh

index 276d68816b0b891d30e8fa87bcd2f7902883ebc7..dd90a46a9c8fc0046052a1b9f7366a0d094a716f 100755 (executable)
@@ -76,7 +76,7 @@ install_source
 
 # build sources
 cd ${PRODUCT_SRC_DIR}
-SWIG_CONFIGURE_FLAGS="--with-boost=${BOOSTDIR} --with-python=${PYTHONHOME} --with-tcl=${TCLHOME}"
+SWIG_CONFIGURE_FLAGS="--with-boost=${BOOSTDIR} --with-python=${PYTHONHOME}/bin/python --with-tcl=${TCLHOME}"
 if test `uname -m` = "x86_64" ; then
     SWIG_CONFIGURE_FLAGS="${SWIG_CONFIGURE_FLAGS} CFLAGS=-m64 CXXFLAGS=-m64"
 fi