File tree 4 files changed +25
-15
lines changed 4 files changed +25
-15
lines changed Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ dispatch_HEADERS= \
24
24
time.h
25
25
26
26
if HAVE_SWIFT
27
- dispatch_HEADERS+ =module.modulemap
27
+ dispatch_HEADERS+ =module.map
28
28
endif
Original file line number Diff line number Diff line change
1
+ module Dispatch {
2
+ requires blocks
3
+ export *
4
+ link "dispatch"
5
+ link "BlocksRuntime"
6
+ }
7
+
8
+ module DispatchIntrospection [system] [extern_c] {
9
+ header "introspection.h"
10
+ export *
11
+ }
12
+
13
+ module CDispatch [system] [extern_c] {
14
+ umbrella header "dispatch.h"
15
+ module * { export * }
16
+ export *
17
+ requires blocks
18
+ link "dispatch"
19
+ link "BlocksRuntime"
20
+ }
Original file line number Diff line number Diff line change 1
- module Dispatch {
2
- requires blocks
1
+ module Dispatch [system] [extern_c] {
2
+ umbrella header "dispatch.h"
3
+ module * { export * }
3
4
export *
4
- link "dispatch"
5
- link "BlocksRuntime"
6
5
}
7
6
8
7
module DispatchIntrospection [system] [extern_c] {
9
8
header "introspection.h"
10
9
export *
11
10
}
12
-
13
- module CDispatch [system] [extern_c] {
14
- umbrella header "dispatch.h"
15
- module * { export * }
16
- export *
17
- requires blocks
18
- link "dispatch"
19
- link "BlocksRuntime"
20
- }
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ SWIFT_GEN_FILES= \
149
149
$(SWIFT_OBJ_FILES:%=%.~partial.swiftdoc ) \
150
150
$(SWIFT_OBJ_FILES:%=%.~partial.swiftdeps )
151
151
152
- SWIFTC_FLAGS = -Xcc -fmodule-map-file=$(abs_top_srcdir ) /dispatch/module.modulemap -I$(abs_top_srcdir ) -Xcc -fblocks
152
+ SWIFTC_FLAGS = -Xcc -fmodule-map-file=$(abs_top_srcdir ) /dispatch/module.map -I$(abs_top_srcdir ) -Xcc -fblocks
153
153
154
154
$(abs_builddir ) /swift/% .o : $(abs_srcdir ) /swift/% .swift
155
155
$(SWIFTC ) -frontend -c $(SWIFT_ABS_SRC_FILES ) -primary-file $< \
You can’t perform that action at this time.
0 commit comments