Skip to content

Commit

Permalink
Fix missing endif
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuda-Chen committed Oct 28, 2024
1 parent 5786352 commit fac4510
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ 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)
OBJS_EXTRA += virtio-snd.o

ifeq ($(UNAME_S),Linux)
LDFLAGS += -lasound -lpthread
else ifeq($(UNAME_S),Darwin)
else ifeq ($(UNAME_S),Darwin)
LDFLAGS += lpthread
CFLAGS += -framework CoreAudio
endif
Expand Down

0 comments on commit fac4510

Please sign in to comment.