From 5e1f5f04f296fddbb105993912592a70c39d817d Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 8 Feb 2016 10:53:16 -0800 Subject: [PATCH] opal.pc.in: fix typo; use the write AC_SUBST'ed variable As reported by @marksantcroos, this substitution in opal.pc was incorrect -- it left @{libdir} in the string (vs. ${libdir}). The fix is simple: use the proper substitution variable in opal.pc (it was never updated to reflect the new/correct name that was created just for the pkg-config files). Fixes open-mpi/ompi#1343. (cherry picked from commit open-mpi/ompi@8558def8580e5681868b8b49ede57a6870b80075) --- opal/tools/wrappers/opal.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/tools/wrappers/opal.pc.in b/opal/tools/wrappers/opal.pc.in index 71ef80da03..2fd3122184 100644 --- a/opal/tools/wrappers/opal.pc.in +++ b/opal/tools/wrappers/opal.pc.in @@ -14,7 +14,7 @@ libdir=@libdir@ # (they're pulled in via libopen-pal.so's implicit dependencies), so # list them in Libs.private. # -Libs: -L${libdir} @OPAL_WRAPPER_EXTRA_LDFLAGS@ -lopen-pal +Libs: -L${libdir} @OPAL_PKG_CONFIG_LDFLAGS@ -lopen-pal Libs.private: @OPAL_WRAPPER_EXTRA_LIBS@ # # It is safe to hard-wire the -I before the EXTRA_INCLUDES because we