Pretend Darwin is Linux in makefile

This commit is contained in:
Dan Kurtz committed 2020-12-04 11:47:13 -08:00
1 parent 9b98aec864
commit dfd12c7187
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ DEVICELD := arm-none-linux-gnueabi-ld
endif
ifeq ($(UNAME),Linux)
ifeq ($(UNAME), $(filter $(UNAME), Linux Darwin))
LDFLAGS += -Wl,-rpath,. # add the local path to the program's search path
HOSTLDLIBS += -lpthread -lusb
HOSTPLATFORM := pthreads