Makefile.common                        |  1 +
 osaf/libs/core/cplusplus/base/mutex.cc |  2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)


After executing ./configure, config.h is created in the build directory.
Top build directory is added to the include path, and solves building issue 
with confog.h if OpenSAF is built outside the source tree.

diff --git a/Makefile.common b/Makefile.common
--- a/Makefile.common
+++ b/Makefile.common
@@ -2,6 +2,7 @@
 # Define a common string for core CPP defines
 #
 CORE_INCLUDES = \
+       -I$(top_builddir) \
        -I$(top_srcdir) \
        -I$(top_srcdir)/osaf/libs/saf/include \
        -I$(top_srcdir)/osaf/libs/core/include \
diff --git a/osaf/libs/core/cplusplus/base/mutex.cc 
b/osaf/libs/core/cplusplus/base/mutex.cc
--- a/osaf/libs/core/cplusplus/base/mutex.cc
+++ b/osaf/libs/core/cplusplus/base/mutex.cc
@@ -16,7 +16,7 @@
  */
 
 #include "osaf/libs/core/cplusplus/base/mutex.h"
-#include "./config.h"
+#include "config.h"
 
 namespace base {
 

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to