Fix the detection of arch only mode (Closes: #1098579).
authorSandro Knauß <hefee@debian.org>
Sat, 8 Mar 2025 22:23:51 +0000 (23:23 +0100)
committerSandro Knauß <hefee@debian.org>
Sun, 9 Mar 2025 00:00:25 +0000 (01:00 +0100)
debian/rules

index 46a42db971877fd9ad176ef0bfa80574187456e2..4b3ba8708df742ba05df853475ff59702e0e29db 100755 (executable)
@@ -19,8 +19,8 @@ CONFIGURE_OPTIONS := -DCMAKE_INSTALL_PREFIX=/usr \
        dh $@
 
 override_dh_auto_configure:
-ifeq (,$(findstring -a,$(DH_INTERNAL_OPTIONS)))
-       @echo " -- Configure for arch all build --"
+ifeq (-i,$(findstring -i, $(DH_INTERNAL_OPTIONS)))
+       @echo " -- Configure for arch all only build --"
        dh_auto_configure -- \
                -DBUILD_TESTING=OFF \
                -DBUILD_SHELL_INTEGRATION_DOLPHIN=OFF \