|
3 | 3 | (modules Apply_patch) |
4 | 4 | (libraries patch)) |
5 | 5 |
|
| 6 | +(executable |
| 7 | + (name chmodx) |
| 8 | + (modules Chmodx) |
| 9 | + (libraries unix)) |
| 10 | + |
6 | 11 | (rule |
7 | 12 | (targets library_flags.sexp) |
8 | 13 | (deps |
|
23 | 28 | (deps |
24 | 29 | (source_tree vendor/raylib) |
25 | 30 | enable_formats.patch |
26 | | - (:discover apply_patch.exe)) |
| 31 | + apply_patch.exe |
| 32 | + chmodx.exe) |
27 | 33 | (action |
28 | 34 | (no-infer |
29 | 35 | (progn |
30 | | - (run chmod +w vendor/raylib/src/config.h) |
| 36 | + (run ./chmodx.exe vendor/raylib/src/config.h) |
31 | 37 | (run ./apply_patch.exe enable_formats.patch) |
32 | 38 | (run make -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8) |
33 | 39 | (copy vendor/raylib/src/libraylib.a libraylib.a) |
|
43 | 49 | (deps |
44 | 50 | (source_tree vendor/raylib) |
45 | 51 | enable_formats.patch |
46 | | - (:discover apply_patch.exe)) |
| 52 | + apply_patch.exe |
| 53 | + chmodx.exe) |
47 | 54 | (action |
48 | 55 | (no-infer |
49 | 56 | (progn |
50 | | - (run chmod +w vendor/raylib/src/config.h) |
| 57 | + (run ./chmodx.exe vendor/raylib/src/config.h) |
51 | 58 | (run ./apply_patch.exe enable_formats.patch) |
52 | 59 | (run make -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8) |
53 | 60 | (copy vendor/raylib/src/libraylib.a libraylib.a) |
|
64 | 71 | (source_tree vendor/raylib) |
65 | 72 | enable_formats.patch |
66 | 73 | mingw64.patch |
67 | | - (:discover apply_patch.exe)) |
| 74 | + apply_patch.exe |
| 75 | + chmodx.exe) |
68 | 76 | (action |
69 | 77 | (no-infer |
70 | 78 | (progn |
71 | | - (run chmod +w vendor/raylib/src/config.h) |
| 79 | + (run ./chmodx.exe vendor/raylib/src/config.h) |
72 | 80 | (run ./apply_patch.exe enable_formats.patch) |
73 | | - (run chmod +w vendor/raylib/src/Makefile) |
| 81 | + (run ./chmodx.exe vendor/raylib/src/Makefile) |
74 | 82 | (run ./apply_patch.exe mingw64.patch) |
75 | 83 | (run make -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8) |
76 | 84 | (copy vendor/raylib/src/libraylib.a libraylib.a) |
|
92 | 100 | (source_tree vendor/raylib) |
93 | 101 | enable_formats.patch |
94 | 102 | freebsd.patch |
95 | | - (:discover apply_patch.exe)) |
| 103 | + apply_patch.exe |
| 104 | + chmodx.exe) |
96 | 105 | (action |
97 | 106 | (no-infer |
98 | 107 | (progn |
99 | | - (run chmod +w vendor/raylib/src/config.h) |
| 108 | + (run ./chmodx.exe vendor/raylib/src/config.h) |
100 | 109 | (run ./apply_patch.exe enable_formats.patch) |
101 | | - (run chmod +w vendor/raylib/src/Makefile) |
| 110 | + (run ./chmodx.exe vendor/raylib/src/Makefile) |
102 | 111 | (run ./apply_patch.exe freebsd.patch) |
103 | 112 | (run gmake -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8) |
104 | 113 | (copy vendor/raylib/src/libraylib.a libraylib.a) |
|
0 commit comments