Fix test not to use conditional dependency declarations
This commit is contained in:
parent
3c49282131
commit
abb954022e
@ -8,16 +8,11 @@
|
|||||||
|
|
||||||
./: exe{driver}: c{driver}
|
./: exe{driver}: c{driver}
|
||||||
|
|
||||||
./: h{config}: in{config}
|
./: exe{driver-posix}: include = ($c.target.system != 'win32-msvc')
|
||||||
|
|
||||||
|
exe{driver-posix}: obje{driver-posix}: c{driver}
|
||||||
|
|
||||||
c.poptions += "-I$out_base"
|
c.poptions += "-I$out_base"
|
||||||
|
obje{driver-posix}: c.poptions += -D_POSIX_C_SOURCE
|
||||||
|
|
||||||
if ($c.target.system != 'win32-msvc')
|
./: h{config}: in{config}
|
||||||
{
|
|
||||||
./: exe{driver-posix}: obje{driver-posix}
|
|
||||||
|
|
||||||
obje{driver-posix}: c{driver}
|
|
||||||
{
|
|
||||||
c.poptions += -D_POSIX_C_SOURCE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user