Codebase list ibutils / debian/1.5.7-4 debian / patches / 01-fix-with_osm_libs.patch
debian/1.5.7-4

Tree @debian/1.5.7-4 (Download .tar.gz)

01-fix-with_osm_libs.patch @debian/1.5.7-4raw · history · blame

Description: Copy fix from main osm.m4 to avoid overwriting $with_osm_libs
Author: Roland Dreier <rbd@debian.org>

--- a/ibis/config/osm.m4
+++ b/ibis/config/osm.m4
@@ -103,8 +103,8 @@
       else
          osm_lib_dir=lib
       fi
+      with_osm_libs=$with_osm/$osm_lib_dir
    fi
-   with_osm_libs=$with_osm/$osm_lib_dir
 
    dnl check what build we have gen1 or gen2
    if test -d $with_osm/include/infiniband; then
--- a/ibmgtsim/config/osm.m4
+++ b/ibmgtsim/config/osm.m4
@@ -103,8 +103,8 @@
       else
          osm_lib_dir=lib
       fi
+      with_osm_libs=$with_osm/$osm_lib_dir
    fi
-   with_osm_libs=$with_osm/$osm_lib_dir
 
    dnl check what build we have gen1 or gen2
    if test -d $with_osm/include/infiniband; then