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
2525 DYLIB_SWIFT_SOURCES=Direct.swift \
2626 DYLIB_MODULENAME=Direct \
2727 SWIFTFLAGS_EXTRAS=" -I$( BUILDDIR) /hidden" \
28- LD_EXTRAS=" -L$( BUILDDIR) /hidden -lIndirect" \
28+ LD_EXTRAS=" -L$( BUILDDIR) /hidden -lIndirect -Xlinker -rpath -Xlinker $( BUILDDIR ) /hidden " \
2929 MAKE_DSYM=NO
3030
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ SomeLibraryCore.swiftmodule: SomeLibraryCore.swift
1212
1313SomeLibrary.swiftmodule : SomeLibrary.swift SomeLibraryCore.swiftmodule
1414 " $( 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
1616
1717clean ::
1818 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
1414SomeLibrary.swiftmodule : SomeLibrary.swift SomeLibraryCore.swiftmodule
1515 " $( MAKE) " BASENAME=$(shell basename $@ .swiftmodule) \
1616 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
1818
1919clean ::
2020 rm -rf * .o * .dylib * .so * .dll * .dSYM * .swiftdoc * .swiftmodule * .swiftinterface
You can’t perform that action at this time.
0 commit comments