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:
@ -13,7 +13,7 @@
|
||||
|
||||
#include <maxscale/cppdefs.hh>
|
||||
|
||||
#include "maxscale/config_runtime.h"
|
||||
#include "internal/config_runtime.h"
|
||||
|
||||
#include <strings.h>
|
||||
#include <string>
|
||||
@ -31,10 +31,10 @@
|
||||
#include <maxscale/spinlock.h>
|
||||
#include <maxscale/users.h>
|
||||
|
||||
#include "maxscale/config.h"
|
||||
#include "maxscale/monitor.h"
|
||||
#include "maxscale/modules.h"
|
||||
#include "maxscale/service.h"
|
||||
#include "internal/config.h"
|
||||
#include "internal/monitor.h"
|
||||
#include "internal/modules.h"
|
||||
#include "internal/service.h"
|
||||
|
||||
typedef std::set<std::string> StringSet;
|
||||
|
||||
|
Reference in New Issue
Block a user