Commit 8f37770822c4fe357569e574f50894d4ab6b5d1e

Thomas de Grivel 2024-04-04T18:17:45

fix build on macos

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/config.subr b/config.subr
index 9ee7fb1..71af178 100644
--- a/config.subr
+++ b/config.subr
@@ -383,7 +383,7 @@ env_reset() {
 
 objc_o_rule() {
     echo "$1" | sed -e 's/^\(.*\)\.m$/\1.o: \1.m/'
-    echo "$1: $2" | sed -e 's/^\(.*\)\.m: $/\1.o: /'
+    echo "$1: $2" | sed -e 's/^\(.*\)\.m: /\1.o: /'
 }
 
 objc_ext_rule() {