Skip to content

Commit 955fd6c

Browse files
committed
Add OMPI_LIB_PREFIX to AM_CPPFLAGS for programs that reference it internally.
* Should fix the java bindings error
1 parent a240a23 commit 955fd6c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ompi/mpi/java/c/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
if OMPI_WANT_JAVA_BINDINGS
1818

1919
# Get the include files that were generated from the .java source files
20-
AM_CPPFLAGS = -I$(top_builddir)/ompi/mpi/java/java $(OPAL_JDK_CPPFLAGS) -DOPAL_DYN_LIB_SUFFIX=\"$(OPAL_DYN_LIB_SUFFIX)\"
20+
AM_CPPFLAGS = -I$(top_builddir)/ompi/mpi/java/java $(OPAL_JDK_CPPFLAGS) -DOMPI_LIB_PREFIX=\"$(OMPI_LIB_PREFIX)\" -DOPAL_DYN_LIB_SUFFIX=\"$(OPAL_DYN_LIB_SUFFIX)\"
2121

2222
headers = \
2323
mpiJava.h

opal/mca/btl/usnic/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# $HEADER$
2121
#
2222

23-
AM_CPPFLAGS = -DBTL_IN_OPAL=1 $(opal_common_libfabric_CPPFLAGS)
23+
AM_CPPFLAGS = -DBTL_IN_OPAL=1 $(opal_common_libfabric_CPPFLAGS) -DOMPI_LIB_PREFIX=\"$(OMPI_LIB_PREFIX)\"
2424

2525
EXTRA_DIST = README.txt README.test
2626

oshmem/mca/memheap/base/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
dist_oshmemdata_DATA += base/help-oshmem-memheap.txt
1111

12+
AM_CPPFLAGS = -DOMPI_LIB_PREFIX=\"$(OMPI_LIB_PREFIX)\"
13+
1214
headers += \
1315
base/base.h
1416

0 commit comments

Comments
 (0)