diff --git a/configure.py b/configure.py
index a443748..697a110 100755
--- a/configure.py
+++ b/configure.py
@@ -507,6 +507,7 @@ if platform.is_windows():
         objs += cxx('minidump-win32')
     objs += cc('getopt')
 else:
+    objs += cxx('spawn')
     objs += cxx('subprocess-posix')
 if platform.is_aix():
     objs += cc('getopt')