Changeset 26934


Ignore:
Timestamp:
03/12/22 15:14:47 (3 years ago)
Author:
jdquinn
Message:

BUG: Fix for libpython location

File:
1 edited

Legend:

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

    r26927 r26934  
    819819                AC_MSG_RESULT([found])
    820820
    821                 AC_MSG_CHECKING([for Python libraries libpython])
     821                AC_MSG_CHECKING([for Python library libpython])
    822822                if ls ${PYTHON_ROOT}/lib/x86_64-linux-gnu/libpython${PYTHON_VERSION}m.* 1> /dev/null 2>&1; then
    823823                        PYTHONLIB="-L${PYTHON_ROOT}/lib/x86_64-linux-gnu -lpython${PYTHON_VERSION}m"
     
    828828                elif ls ${PYTHON_ROOT}/lib64/libpython${PYTHON_VERSION}m.* 1> /dev/null 2>&1; then
    829829                        PYTHONLIB="-L${PYTHON_ROOT}/lib64 -lpython${PYTHON_VERSION}m"
     830                elif ls ${PYTHON_ROOT}/lib/libpython${PYTHON_VERSION}.* 1> /dev/null 2>&1; then
     831                        PYTHONLIB="-L${PYTHON_ROOT}/lib -lpython${PYTHON_VERSION}"
    830832                else
    831833                        AC_MSG_ERROR([libpython not found! Please locate this file and contact ISSM developers via forum or email.]);
Note: See TracChangeset for help on using the changeset viewer.