Skip to content

Commit 25b0850

Browse files
Merge pull request #6449 from ggouaillardet/topic/usnic_test
btl/usnic: fix usnic_btl_run_tests CPPFLAGS
2 parents 73085e9 + b409762 commit 25b0850

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

opal/mca/btl/usnic/Makefile.am

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# Copyright (c) 2016-2017 IBM Corporation. All rights reserved.
1717
# Copyright (c) 2017 Los Alamos National Security, LLC. All rights
1818
# reserved.
19+
# Copyright (c) 2019 Research Organization for Information Science
20+
# and Technology (RIST). All rights reserved.
1921
# $COPYRIGHT$
2022
#
2123
# Additional copyrights may follow
@@ -103,7 +105,8 @@ libmca_btl_usnic_la_LIBADD = $(opal_ofi_LIBS)
103105

104106
if OPAL_BTL_USNIC_BUILD_UNIT_TESTS
105107
usnic_btl_run_tests_CPPFLAGS = \
106-
-DBTL_USNIC_RUN_TESTS_SYMBOL=\"opal_btl_usnic_run_tests\"
108+
-DBTL_USNIC_RUN_TESTS_SYMBOL=\"opal_btl_usnic_run_tests\" \
109+
-DOMPI_LIBMPI_NAME=\"$(OMPI_LIBMPI_NAME)\"
107110
usnic_btl_run_tests_SOURCES = test/usnic_btl_run_tests.c
108111
usnic_btl_run_tests_LDADD = -ldl
109112
bin_PROGRAMS = usnic_btl_run_tests

0 commit comments

Comments
 (0)