Skip to content

Commit e2d3a82

Browse files
committed
missed one file in the ompi_lib_prefix rename
1 parent a861471 commit e2d3a82

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ompi/tools/wrappers/ompi_wrapper_script.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ my $cxx_lib = "@OMPI_WRAPPER_CXX_LIB@";
4747
my $fc_module_flag = "@OMPI_FC_MODULE_FLAG@";
4848
my $dynamic_lib_suffix = "@OPAL_DYN_LIB_SUFFIX@";
4949
my $fortran_libs = "@OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@";
50-
my $ompi_lib_prefix = "@OMPI_LIBMPI_NAME@";
50+
my $ompi_libmpi_name = "@OMPI_LIBMPI_NAME@";
5151

5252
# Someone might want to fix for windows
5353
my $include_flag = "-I";
@@ -63,15 +63,15 @@ my $linker_flags = $libdir_flag . $libdir . " " . $extra_ldflags;
6363
# intentionally only link in the MPI libraries (ORTE, OPAL, etc. are
6464
# pulled in implicitly) because we intend MPI applications to only use
6565
# the MPI API.
66-
my $libs = "-l".$ompi_lib_prefix." " . $extra_libs;
67-
my $libs_static = "-l".$ompi_lib_prefix." -lopen-rte -lopen-pal " . $extra_libs;
66+
my $libs = "-l".$ompi_libmpi_name." " . $extra_libs;
67+
my $libs_static = "-l".$ompi_libmpi_name." -lopen-rte -lopen-pal " . $extra_libs;
6868

6969
my $have_dynamic = 0;
70-
if (-e $libdir . "/lib".$ompi_lib_prefix."." . $dynamic_lib_suffix) {
70+
if (-e $libdir . "/lib".$ompi_libmpi_name."." . $dynamic_lib_suffix) {
7171
$have_dynamic = 1;
7272
}
7373
my $have_static = 0;
74-
if (-e $libdir . "/lib".$ompi_lib_prefix.".a") {
74+
if (-e $libdir . "/lib".$ompi_libmpi_name.".a") {
7575
$have_static = 1;
7676
}
7777

0 commit comments

Comments
 (0)