Fix in-source builds
The internal header directory conflicted with in-source builds causing a build failure. This is fixed by renaming the internal header directory to something other than maxscale. The renaming pointed out a few problems in a couple of source files that appeared to include internal headers when the headers were in fact public headers. Fixed maxctrl in-source builds by making the copying of the sources optional.
This commit is contained in:
@ -45,11 +45,11 @@
|
||||
#include <maxscale/spinlock.h>
|
||||
#include <maxscale/version.h>
|
||||
|
||||
#include "../../../core/maxscale/maxscale.h"
|
||||
#include "../../../core/maxscale/modules.h"
|
||||
#include "../../../core/maxscale/monitor.h"
|
||||
#include "../../../core/maxscale/poll.h"
|
||||
#include "../../../core/maxscale/session.h"
|
||||
#include "../../../core/internal/maxscale.h"
|
||||
#include "../../../core/internal/modules.h"
|
||||
#include "../../../core/internal/monitor.h"
|
||||
#include "../../../core/internal/poll.h"
|
||||
#include "../../../core/internal/session.h"
|
||||
|
||||
static void exec_show(DCB *dcb, MAXINFO_TREE *tree);
|
||||
static void exec_select(DCB *dcb, MAXINFO_TREE *tree);
|
||||
|
Reference in New Issue
Block a user