Changeset 27151


Ignore:
Timestamp:
07/08/22 20:30:22 (3 years ago)
Author:
jdquinn
Message:

BUG: Correcting some static linking in distributables; typo

Location:
issm/trunk-jpl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/etc/environment.sh

    r26950 r27151  
    469469if [ -d "${NETCDF_ROOT}" ]; then
    470470        export NETCDF_ROOT # Used in installation of GDAL, GMT
    471         path_append "${NETCDF_ROOT}/bin"
    472         cpath_append "${NETCDF_ROOT}/include"
    473         library_path_append "${NETCDF_ROOT}/lib"
    474         dyld_library_path_append "${NETCDF_ROOT}/lib"
    475         ld_library_path_append "${NETCDF_ROOT}/lib"
     471        path_prepend "${NETCDF_ROOT}/bin"
     472        cpath_prepend "${NETCDF_ROOT}/include"
     473        library_path_prepend "${NETCDF_ROOT}/lib"
     474        dyld_library_path_prepend "${NETCDF_ROOT}/lib"
     475        ld_library_path_prepend "${NETCDF_ROOT}/lib"
    476476fi
    477477
     
    491491if [ -d "${CURL_ROOT}" ]; then
    492492        export CURL_ROOT # Used in installation of NetCDF, GDAL, GMT
    493         ld_library_path_append "${CURL_ROOT}/lib"
    494         dyld_library_path_append "${CURL_ROOT}/lib"
     493        cpath_prepend "${CURL_ROOT}/include"
     494        ld_library_path_prepend "${CURL_ROOT}/lib"
     495        dyld_library_path_prepend "${CURL_ROOT}/lib"
    495496        path_append "${CURL_ROOT}/bin"
    496497fi
  • issm/trunk-jpl/externalpackages/gmt/configs/6/static/cmake/modules/FindGDAL.cmake

    r25745 r27151  
    148148                NAMES ${_extralib}
    149149                HINTS
     150                ${NETCDF_ROOT}
     151                $ENV{NETCDF_ROOT}
    150152                ${HDF5_ROOT}
    151153                $ENV{HDF5_ROOT}
  • issm/trunk-jpl/externalpackages/gmt/configs/6/static/cmake/modules/FindNETCDF.cmake

    r25745 r27151  
    130130# find all manually-supplied libs
    131131if (NETCDF_EXTRA_LIBS)
    132         # Ensure -l is precedeced by whitespace to not match
     132        # Ensure -l is preceded by whitespace to not match
    133133        # '-l' in '-L/usr/lib/x86_64-linux-gnu/hdf5/serial'
    134134        string (REGEX MATCHALL "(^| )-l[^ ]+" _netcdf_extra_lib_dashl ${NETCDF_EXTRA_LIBS})
  • issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh

    r26246 r27151  
    2020LIBGCC=$(mdfind -onlyin ${LIBGFORTRAN_ROOT} -name libgcc | grep -n libgcc.a | grep -v i386 | sed "s/[0-9]*://g" | head -1)
    2121
    22 GDAL_EXTRA_LIBS="-lc++" # `$GDAL_ROOT/bin/gdal-config --dep-libs` does not report need to link to libc++ (see also customized configuration file ./configs/6.0/static/cmake/modules/FindGDAL.cmake)
    23 NETCDF_EXTRA_LIBS="-lsqlite3 -lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6.0/static/cmake/modules/FindNETCDF.cmake)
     22GDAL_EXTRA_LIBS="-lc++" # `$GDAL_ROOT/bin/gdal-config --dep-libs` does not report need to link to libc++ (see also customized configuration file ./configs/6/static/cmake/modules/FindGDAL.cmake)
     23NETCDF_EXTRA_LIBS="-lsqlite3 -lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6/static/cmake/modules/FindNETCDF.cmake)
    2424
    2525# Environment
Note: See TracChangeset for help on using the changeset viewer.