diff --git a/Makefile b/Makefile index 9c6881a1..77a93386 100644 --- a/Makefile +++ b/Makefile @@ -62,6 +62,7 @@ ifeq ($(UNAME_S),Darwin) ifeq (0, $(call check-coreaudio)) $(warning No CoreAudio framework installed.) ENABLE_VIRTIOSND := 0 + endif endif $(call set-feature, VIRTIOSND) ifeq ($(call has, VIRTIOSND), 1) @@ -69,7 +70,7 @@ ifeq ($(call has, VIRTIOSND), 1) ifeq ($(UNAME_S),Linux) LDFLAGS += -lasound -lpthread - else ifeq($(UNAME_S),Darwin) + else ifeq ($(UNAME_S),Darwin) LDFLAGS += lpthread CFLAGS += -framework CoreAudio endif