From c5c6b9feb8465d46548320be73612579310baee4 Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 17 Nov 2009 11:06:51 +0000 Subject: [PATCH] debug flag git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@570 e16421f0-f15b-0410-abcd-98678b794739 --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SConstruct b/SConstruct index 3267f1f..2cb36f7 100644 --- a/SConstruct +++ b/SConstruct @@ -89,6 +89,9 @@ else: libpath = "" print "To use external libs, set LIBPATH environment variable to list of colon-separated lib dirs" +if DEBUG: + env.Append(CXXFLAGS="-DDEBUG") + env.StaticLibrary ( target= target, source = source, -- 2.20.1