Closed gvallee closed 6 years ago
OK, yes. This is good and fixes the test case I was using to reproduce error.
For ticket trails, here's the test I used to confirm things worked. (Enable ifdef in test/simple_test.c
to exercise use of libmoc.so
).
beaker:$ git br
* gv_libsfix
master
beaker:$ git diff
diff --git a/test/simple_test.c b/test/simple_test.c
index a49fd7c..598b77f 100644
--- a/test/simple_test.c
+++ b/test/simple_test.c
@@ -7,7 +7,7 @@ main (int argc, char **argv)
{
int rc;
-#if 0
+#if 1
rc = MOC_Init (NULL);
if (rc != MOC_SUCCESS)
{
beaker:$ ./autogen.sh && \
./configure \
--prefix=/home/tjn/projects/ompi-ecp/install \
--with-mpi=/home/tjn/projects/ompi-ecp/install \
--with-pmix=/home/tjn/projects/ompi-ecp/install \
&& make
Cool! Q: Should that be on
LIBS
instead ofCPPFLAGS
since it is adding linkage library?