\r
--- giada.orig/Makefile.am
+++ giada/Makefile.am
-@@ -76,13 +76,13 @@
+@@ -355,10 +355,10 @@
if LINUX
# Add preprocessor flags to enable ALSA, Pulse and JACK in RtAudio.
-cppFlags += -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__
+cppFlags += $(RTMIDI_CFLAGS)
- # Don't stop on JUCE's unused functions.
- cxxFlags += -Wno-error=unused-function
-
ldAdd += -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm -ljack -lasound \
- -lpthread -ldl -lpulse-simple -lpulse -lsamplerate -lrtmidi -ljansson \
+ -lpthread -ldl -lpulse-simple -lpulse -lsamplerate $(RTMIDI_LIBS) -ljansson \