waf: fix broken wscript
This commit is contained in:
parent
dd6f9d16ad
commit
20738ad079
@ -8,8 +8,6 @@
|
||||
* MIT, see COPYING file
|
||||
*/
|
||||
|
||||
#define VERSION "0.1"
|
||||
|
||||
#include "weighttp.h"
|
||||
|
||||
extern int optind, optopt; /* getopt */
|
||||
|
2
wscript
2
wscript
@ -62,7 +62,7 @@ def build(bld):
|
||||
bld.new_task_gen(
|
||||
features = 'cc cprogram',
|
||||
source = ['src/client.c', 'src/weighttp.c', 'src/worker.c'],
|
||||
defines = ['HAVE_CONFIG_H=1', 'VERSION=' % VERSION],
|
||||
defines = ['HAVE_CONFIG_H=1', 'VERSION="' + VERSION + '"'],
|
||||
includes = '.',
|
||||
uselib = 'ev pthread',
|
||||
target = 'weighttp'
|
||||
|
Loading…
Reference in New Issue
Block a user