diff --git a/unix/mpconfigport.mk b/unix/mpconfigport.mk
index 4744172da7cdfe82bf7a26d960239070184f9a53..88bd749a71434f9d35eaf44c4252cb10f3fa43f7 100644
--- a/unix/mpconfigport.mk
+++ b/unix/mpconfigport.mk
@@ -26,3 +26,7 @@ MICROPY_PY_USSL = 1
 
 # jni module requires JVM/JNI
 MICROPY_PY_JNI = 0
+
+# Avoid using system libraries, use copies bundled with MicroPython
+# as submodules (currently affects only libffi).
+MICROPY_STANDALONE = 0