Browse Source

[bugfix] Actually compile in version info into the library.

src/base/cl_version.cc: don't #include "cl_sysdep.h", so the version info
actually gets compiled into the library.

Due to the changes introduced in 7da4d3ae ("build: switch to ordinary auto*
tools system") including "cln/version.h" after "cl_config.h" is no-op (yes,
this is intended).
master
Alexei Sheplyakov 16 years ago
parent
commit
35751aa285
  1. 8
      src/base/cl_version.cc

8
src/base/cl_version.cc

@ -1,14 +1,6 @@
// Version string buried into the library
// General includes.
#include "base/cl_sysdep.h"
// Specification.
#include "cln/version.h"
// Implementation.
namespace cln {
const int version_major = CL_VERSION_MAJOR;

Loading…
Cancel
Save