Skip to content

Commit 076028d

Browse files
committed
build: link against shared BlocksRuntime
This allows libdispatch to build BlocksRuntime shared.
1 parent 50a7974 commit 076028d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
'-Xcc -fblocks'
126126
])
127127
foundation.LDFLAGS += '-ldispatch -L'+Configuration.current.variables["LIBDISPATCH_BUILD_DIR"]+'/src/.libs -rpath \$$ORIGIN '
128+
foundation.LDFLAGS += '-L' + Configuration.current.variables['LIBDISPATCH_BUILD_DIR'] + ' -lBlocksRuntime '
128129

129130
foundation.SWIFTCFLAGS = " ".join(swift_cflags)
130131

0 commit comments

Comments
 (0)