File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ build_impl:
51
51
@swift build -c $(CONFIG ) $(SWIFT_OPTS ) \
52
52
-Xswiftc " -target" -Xswiftc " x86_64-apple-macosx10.12" \
53
53
| tee $(LAST_LOG )
54
+ @clang -g \
55
+ -Xlinker $(PYTHON_LINKED_LIB ) \
56
+ -Xlinker $(PWD ) /.build/$(CONFIG ) /lib$(PLUGIN_NAME ) .dylib \
57
+ -shared -o .build/$(PLUGIN_NAME ) .so
54
58
55
59
# Running tests with custom versions of Python
56
60
# USE_PYTHON=/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/Python make test
Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ build_impl:
46
46
@swift build -c $(CONFIG) $(SWIFT_OPTS) \
47
47
-Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.12" \
48
48
| tee $(LAST_LOG)
49
+ @clang -g \
50
+ -Xlinker $(PYTHON_LINKED_LIB) \
51
+ -Xlinker $(PWD)/.build/$(CONFIG)/lib$(PLUGIN_NAME).dylib \
52
+ -shared -o .build/$(PLUGIN_NAME).so
49
53
50
54
.PHONY: test
51
55
test_b: CONFIG=debug
You can’t perform that action at this time.
0 commit comments