# build and bundle in only celt 0.7.1 if celt is embedded
--- a/main.pro
+++ b/main.pro
@@ -12,7 +12,8 @@
     SUBDIRS *= speexbuild
   }
   !CONFIG(no-bundled-celt) {
-    SUBDIRS *= celt-0.7.0-build celt-0.11.0-build
+    SUBDIRS *= celt-0.7.0-build
+    SUBDIRS -= celt-0.11.0-build
   }
 
   CONFIG(opus) {
