Skip to content

Commit ae64229

Browse files
committed
Made biglink work
1 parent f1daf3c commit ae64229

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

toolchain.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,7 @@ def build_recipes(names, ctx):
13051305
recipe.build()
13061306

13071307
# 4) biglink everything
1308+
# AND: Should make this optional (could use
13081309
biglink(ctx)
13091310

13101311
# 5) postbuild packages
@@ -1318,7 +1319,15 @@ def build_recipes(names, ctx):
13181319
recipe.execute()
13191320

13201321
def biglink(ctx):
1321-
print('skipping biglink...there is no libpymodules.so?')
1322+
# AND: Shouldn't hardcode ArchAndroid! In reality need separate
1323+
# build dirs for each arch
1324+
env = ArchAndroid(ctx).get_env()
1325+
1326+
print('Biglinking')
1327+
bl = sh.Command(env['BIGLINK'])
1328+
shprint(bl, join(ctx.libs_dir, 'libpymodules.so'),
1329+
env['LIBLINK_PATH'], _env=env)
1330+
13221331

13231332

13241333
def ensure_dir(filename):

0 commit comments

Comments
 (0)