Skip to content

Commit ff684e7

Browse files
committed
Use -pthread in macOS
1 parent fac4510 commit ff684e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ ifeq ($(call has, VIRTIOSND), 1)
7171
ifeq ($(UNAME_S),Linux)
7272
LDFLAGS += -lasound -lpthread
7373
else ifeq ($(UNAME_S),Darwin)
74-
LDFLAGS += lpthread
75-
CFLAGS += -framework CoreAudio
74+
CFLAGS += -framework CoreAudio -pthread
7675
endif
7776
CFLAGS += -Icnfa
7877

0 commit comments

Comments
 (0)