components/open-fabrics/ibutils/patches/base.patch
changeset 1461 5ba0aa89a64a
parent 1413 5993f361061f
child 1565 0521ea8ab0da
equal deleted inserted replaced
1460:21deed5f135f 1461:5ba0aa89a64a
  1131 @@ -15295,7 +15297,8 @@
  1131 @@ -15295,7 +15297,8 @@
  1132     { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
  1132     { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
  1133  $as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
  1133  $as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
  1134  
  1134  
  1135 -   OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
  1135 -   OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
  1136 +   with_osm_libs=`echo "$with_osm_libs" | $SED -e "s/64//g"`
  1136 +   with_osm_libs=`echo "$with_osm_libs" | $SED -e "s/\/lib64$/\/lib/g"`
  1137 +   OSM_LDFLAGS="-L$with_osm_libs"
  1137 +   OSM_LDFLAGS="-L$with_osm_libs"
  1138           if test $OSM_BUILD = openib; then
  1138           if test $OSM_BUILD = openib; then
  1139              osm_include_dir="$with_osm/include/infiniband"
  1139              osm_include_dir="$with_osm/include/infiniband"
  1140        osm_extra_includes="-I$with_osm/include"
  1140        osm_extra_includes="-I$with_osm/include"
  1141 @@ -15378,7 +15381,7 @@
  1141 @@ -15378,7 +15381,7 @@