]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Allow the mpris and the dbus test clients to be compiled at the same time.
authorMike Brady <mikebrady@eircom.net>
Mon, 5 Mar 2018 19:55:29 +0000 (19:55 +0000)
committerMike Brady <mikebrady@eircom.net>
Mon, 5 Mar 2018 19:55:29 +0000 (19:55 +0000)
Makefile.am

index db385dae5347a71b9e65d976eed47107ebb0e62f..4e606364ae78a1bfd1f4adbfe7ba94e575c49073 100644 (file)
@@ -114,15 +114,17 @@ mpris-player-interface.h mpris-player-interface.c:  org.mpris.MediaPlayer2.Playe
        gdbus-codegen --interface-prefix org.mpris --generate-c-code mpris-player-interface org.mpris.MediaPlayer2.Player.xml
 endif
 
+noinst_PROGRAMS =
+
 if USE_DBUS_CLIENT
  #Make it, but don't install it anywhere
-noinst_PROGRAMS = shairport-sync-dbus-test-client
+noinst_PROGRAMS += shairport-sync-dbus-test-client
 shairport_sync_dbus_test_client_SOURCES = dbus-interface.c dbus-interface.h shairport-sync-dbus-test-client.c
 endif
 
 if USE_MPRIS_CLIENT
  #Make it, but don't install it anywhere
-noinst_PROGRAMS = shairport-sync-mpris-test-client
+noinst_PROGRAMS += shairport-sync-mpris-test-client
 shairport_sync_mpris_test_client_SOURCES = mpris-interface.c mpris-interface.h mpris-player-interface.c mpris-player-interface.h shairport-sync-mpris-test-client.c
 endif