From 2d1932fd6cfc943bc7d143aecb1ed2f1b47a85d8 Mon Sep 17 00:00:00 2001 From: Pierre Hauweele Date: Tue, 19 Sep 2017 10:33:07 +0200 Subject: [PATCH] Compile portmidi with ALSA support on Linux. --- dep/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dep/Makefile b/dep/Makefile index c430cc07..581e1980 100755 --- a/dep/Makefile +++ b/dep/Makefile @@ -4,6 +4,10 @@ LOCAL = $(PWD) # Arch-specifics include ../arch.mk +ifeq ($(ARCH),lin) + CFLAGS += -DPMALSA +endif + ifeq ($(ARCH),mac) export CFLAGS = -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk \ -mmacosx-version-min=10.7