File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
expression/import_search_paths
implementation_only_imports Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,6 @@ libDirect: $(SRCDIR)/Direct.swift libHidden
25
25
DYLIB_SWIFT_SOURCES=Direct.swift \
26
26
DYLIB_MODULENAME=Direct \
27
27
SWIFTFLAGS_EXTRAS=" -I$( BUILDDIR) /hidden" \
28
- LD_EXTRAS=" -L$( BUILDDIR) /hidden -lIndirect" \
28
+ LD_EXTRAS=" -L$( BUILDDIR) /hidden -lIndirect -Xlinker -rpath -Xlinker $( BUILDDIR ) /hidden " \
29
29
MAKE_DSYM=NO
30
30
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ SomeLibraryCore.swiftmodule: SomeLibraryCore.swift
12
12
13
13
SomeLibrary.swiftmodule : SomeLibrary.swift SomeLibraryCore.swiftmodule
14
14
" $( MAKE) " BASENAME=$(shell basename $@ .swiftmodule) \
15
- VPATH=$(SRCDIR ) -f $(SRCDIR ) /../dylib.mk all
15
+ VPATH=$(SRCDIR ) LD_EXTRAS= " -L $( BUILDDIR ) -Xlinker -rpath -Xlinker $( BUILDDIR ) " -f $(SRCDIR ) /../dylib.mk all
16
16
17
17
clean ::
18
18
rm -rf * .o * .dylib * .so * .dll * .dSYM * .swiftdoc * .swiftmodule * .swiftinterface
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ SomeLibraryCore.swiftmodule: SomeLibraryCore.swift
14
14
SomeLibrary.swiftmodule : SomeLibrary.swift SomeLibraryCore.swiftmodule
15
15
" $( MAKE) " BASENAME=$(shell basename $@ .swiftmodule) \
16
16
SWIFTFLAGS_EXTRAS=-enable-library-evolution \
17
- VPATH=$(SRCDIR ) -f $(SRCDIR ) /../dylib.mk all
17
+ VPATH=$(SRCDIR ) LD_EXTRAS= " -L $( BUILDDIR ) -Xlinker -rpath -Xlinker $( BUILDDIR ) " -f $(SRCDIR ) /../dylib.mk all
18
18
19
19
clean ::
20
20
rm -rf * .o * .dylib * .so * .dll * .dSYM * .swiftdoc * .swiftmodule * .swiftinterface
You can’t perform that action at this time.
0 commit comments