|
276 | 276 | } |
277 | 277 | } |
278 | 278 | }], |
279 | | - ["OS=='win'", {}, { |
280 | | - "sources": [ |
281 | | - "libgit2/src/unix/map.c", |
282 | | - "libgit2/src/unix/posix.h", |
283 | | - "libgit2/src/unix/realpath.c", |
284 | | - ] |
285 | | - }], |
286 | 279 | ["OS=='linux'", { |
287 | 280 | "cflags": [ |
288 | 281 | "-DGIT_SSH", |
289 | 282 | "-DGIT_SSL", |
290 | 283 | "-w", |
291 | 284 | ], |
292 | 285 | "defines": [ |
293 | | - "GIT_OPENSSL" |
| 286 | + "GIT_OPENSSL", |
| 287 | + "GIT_USE_STAT_MTIM" |
294 | 288 | ], |
295 | 289 | "sources": [ |
296 | 290 | "libgit2/src/tls_stream.c", |
|
341 | 335 | "libgit2/deps/regex" |
342 | 336 | ], |
343 | 337 | "sources": [ |
344 | | - "libgit2/src/win32/w32_buffer.c", |
345 | | - "libgit2/src/win32/w32_buffer.h", |
| 338 | + "libgit2/deps/regex/regex.c", |
| 339 | + "libgit2/src/transports/winhttp.c", |
| 340 | + "libgit2/src/unix/map.c", |
| 341 | + "libgit2/src/unix/posix.h", |
| 342 | + "libgit2/src/unix/realpath.c", |
346 | 343 | "libgit2/src/win32/dir.c", |
347 | 344 | "libgit2/src/win32/dir.h", |
348 | 345 | "libgit2/src/win32/error.c", |
|
353 | 350 | "libgit2/src/win32/map.c", |
354 | 351 | "libgit2/src/win32/mingw-compat.h", |
355 | 352 | "libgit2/src/win32/msvc-compat.h", |
356 | | - "libgit2/src/win32/posix.h", |
| 353 | + "libgit2/src/win32/path_w32.c", |
| 354 | + "libgit2/src/win32/path_w32.h", |
357 | 355 | "libgit2/src/win32/posix_w32.c", |
| 356 | + "libgit2/src/win32/posix.h", |
358 | 357 | "libgit2/src/win32/precompiled.c", |
359 | 358 | "libgit2/src/win32/precompiled.h", |
360 | 359 | "libgit2/src/win32/pthread.c", |
|
363 | 362 | "libgit2/src/win32/utf-conv.c", |
364 | 363 | "libgit2/src/win32/utf-conv.h", |
365 | 364 | "libgit2/src/win32/version.h", |
| 365 | + "libgit2/src/win32/w32_buffer.c", |
| 366 | + "libgit2/src/win32/w32_buffer.h", |
366 | 367 | "libgit2/src/win32/w32_util.c", |
367 | 368 | "libgit2/src/win32/w32_util.h", |
368 | | - "libgit2/src/win32/path_w32.c", |
369 | | - "libgit2/src/win32/path_w32.h", |
370 | | - "libgit2/src/transports/winhttp.c", |
371 | | - "libgit2/deps/regex/regex.c", |
372 | 369 | ], |
373 | 370 | }, { |
374 | 371 | "libraries": [ |
|
0 commit comments