Index: build_tools/common.sh |
diff --git a/build_tools/common.sh b/build_tools/common.sh |
index 190fea93254d2c0350770b4227856e84dc3236bc..3a0f534f0af4d840ef9da234742bf02fbb90602c 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="" |