chiark / gitweb /
Small buildjni= fixes
[fdroidserver.git] / fdroidserver / build.py
index a6624bde7a573c3faaadd0c76ef72ae2d82fdb3c..1d11e9fe8e8d5462376f7a656fd22d2152644292 100644 (file)
@@ -815,7 +815,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
         nativecode = nativecode.strip()
         nativecode = None if not nativecode else nativecode
 
-    if thisbuild['buildjni'] != 'no':
+    if thisbuild['buildjni'] and thisbuild['buildjni'] != ['no']:
         if nativecode is not None:
             raise BuildException("Native code should have been built but none was packaged")
     if thisbuild['novcheck']: