Index: build_tools/common.sh |
diff --git a/build_tools/common.sh b/build_tools/common.sh |
index 576c203df95047e8a239e0ad0ade0fbb1b81e84f..af86b34658c91755bf8c603e98701def60f4d4e1 100644 |
--- a/build_tools/common.sh |
+++ b/build_tools/common.sh |
@@ -95,7 +95,8 @@ fi |
# libcli_main.a has a circular dependency which makes static link fail |
# (cli_main => nacl_io => ppapi_cpp => cli_main). To break this loop, |
# you should use this instead of -lcli_main. |
-export NACL_CLI_MAIN_LIB="-Xlinker -uPSUserCreateInstance -lcli_main" |
+export NACL_CLI_MAIN_LIB="-Xlinker -uPSUserCreateInstance \ |
+ -lcli_main -lnacl_spawn" |
# Python variables |
NACL_PYSETUP_ARGS="" |