configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 9a2a837ae6ac35ec098359aa1c09590c7ccda69f
Author:     Christian Lohmaier <[email protected]>
AuthorDate: Wed Jul 13 14:10:55 2022 +0200
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Thu Jul 14 15:34:46 2022 +0200

    fix bluetooth entitlement, was added to the flipped condition
    
    of course it should only be added when the bluetooth part of the
    sdremote is enabled, not the other way round...
    fixes c78b49ec132eb5126445ebee7d259d3df7fcaa68
    
    Change-Id: I0085c61a4bafece80be92c56928095c2726e11b4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137025
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <[email protected]>
    (cherry picked from commit bdd97cb83e09225905a6272caf91579a0a77d3c2)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137054
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>
    Tested-by: Christian Lohmaier <[email protected]>

diff --git a/configure.ac b/configure.ac
index 9073fb68858f..85521710e9a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11870,14 +11870,14 @@ if test -n "$enable_sdremote" -a "$enable_sdremote" 
!= "no"; then
             AC_MSG_RESULT([yes])
             ENABLE_SDREMOTE_BLUETOOTH=TRUE
             SYSTEM_BLUEZ=
+            SDREMOTE_ENTITLEMENT="$SDREMOTE_ENTITLEMENT
+       <key>com.apple.security.device.bluetooth</key>
+       <true/>"
         fi
     else
         AC_MSG_RESULT([no])
         ENABLE_SDREMOTE_BLUETOOTH=
         SYSTEM_BLUEZ=
-        SDREMOTE_ENTITLEMENT="$SDREMOTE_ENTITLEMENT
-       <key>com.apple.security.device.bluetooth</key>
-       <true/>"
     fi
 else
     ENABLE_SDREMOTE=

Reply via email to