diff --git a/ChangeLog b/ChangeLog index 5a29787..18efc9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,7 @@ Version NEXT correct check for native largefiles. Because we are using unsigned long internaly as pointer to offset for portability, we have to be sure that usingned long is 8 or more bytes long + Always try to link Efence in debug build Version 2.8.1b29 - 24 Aug 2019 added scons command line argument without-fspscan=yes for building diff --git a/SConstruct b/SConstruct index a918151..3f1b18b 100644 --- a/SConstruct +++ b/SConstruct @@ -8,7 +8,6 @@ EnsurePythonVersion(2,7) # set defaults PREFIX='/usr/local' VERSION='2.8.1b30' -EFENCE=False CLIENTS=True env = Environment(CPPPATH='#/include', LIBPATH=['/usr/lib','/usr/local/lib']) @@ -158,9 +157,9 @@ DOCDIR=conf.checkForUserDocdir(DOCDIR) EXAMPLESDIR=DOCDIR+'/examples' EXAMPLESDIR=conf.checkForUserExamplesdir(EXAMPLESDIR) dmode=conf.checkForDebugBuild() -EFENCE = conf.MAINTAINER_MODE(dmode) -if EFENCE == True: - EFENCE=conf.CheckLib("efence","EF_Abort") +if dmode: + conf.CheckLib("efence","EF_Abort") +conf.MAINTAINER_MODE(dmode) conf.checkForLamerPack() CLIENTS=conf.checkForBuildingClients() SERVER=conf.checkForBuildingServer()