diff options
-rw-r--r-- | lib/replace/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 052b55b098..5590821e15 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -74,7 +74,7 @@ def configure(conf): conf.env.DISABLE_SHARED = Options.options.disable_shared # see if we can compile and run a simple C program - conf.CHECK_CODE('#include "test/simple.c"', + conf.CHECK_CODE('#include "test/simple.c"\n', addmain=False, define='HAVE_SIMPLE_C_PROG', mandatory=True, |