Skip to content

Commit fd829ac

Browse files
authored
Merge pull request #1982 from jsquyres/pr/fix-pkg-config-static
pkg-config: fix static linking
2 parents b811b0a + fb894e6 commit fd829ac

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ompi/tools/wrappers/ompi-c.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ libdir=@libdir@
1515
# dependencies), so only list these in Libs.private.
1616
#
1717
Libs: -L${libdir} @OMPI_PKG_CONFIG_LDFLAGS@ -lmpi
18-
Libs.private: @OMPI_WRAPPER_EXTRA_LIBS@
18+
Libs.private: -lopen-rte -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
1919
#
2020
Cflags: -I${includedir} @OMPI_WRAPPER_EXTRA_CPPFLAGS@ @OMPI_WRAPPER_EXTRA_CFLAGS@

ompi/tools/wrappers/ompi-cxx.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ libdir=@libdir@
1515
# dependencies), so only list these in Libs.private.
1616
#
1717
Libs: -L${libdir} @OMPI_PKG_CONFIG_LDFLAGS@ @OMPI_WRAPPER_CXX_LIB@ -lmpi
18-
Libs.private: @OMPI_WRAPPER_EXTRA_LIBS@
18+
Libs.private: -lopen-rte -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
1919
#
2020
Cflags: -I${includedir} @OMPI_WRAPPER_EXTRA_CPPFLAGS@ @OMPI_WRAPPER_EXTRA_CXXFLAGS@

ompi/tools/wrappers/ompi-fort.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ libdir=@libdir@
1515
# dependencies), so only list these in Libs.private.
1616
#
1717
Libs: -L${libdir} @OMPI_PKG_CONFIG_LDFLAGS@ @OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ -lmpi_mpifh -lmpi
18-
Libs.private: @OMPI_WRAPPER_EXTRA_LIBS@
18+
Libs.private: -lopen-rte -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
1919
Cflags: -I${includedir} @OMPI_WRAPPER_EXTRA_CPPFLAGS@ @OMPI_WRAPPER_EXTRA_FCFLAGS@

orte/tools/wrappers/orte.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ libdir=@libdir@
1515
# dependencies), so only list these in Libs.private.
1616
#
1717
Libs: -L${libdir} @ORTE_PKG_CONFIG_LDFLAGS@ -lopen-rte
18-
Libs.private: @ORTE_WRAPPER_EXTRA_LIBS@
18+
Libs.private: -lopen-pal @ORTE_WRAPPER_EXTRA_LIBS@
1919
#
2020
# It is safe to hard-wire the -I before the EXTRA_INCLUDES because we
2121
# will not be installing this .pc file unless --enable-devel-headers is

0 commit comments

Comments
 (0)