We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df4c5a5 commit 2b7747bCopy full SHA for 2b7747b
Makefile
@@ -1,4 +1,4 @@
1
-
+UNAME_S := $(shell uname -s)
2
3
# Point BSC at the directory into which you've built beanstalk-client
4
BSC=/usr/local/src/beanstalk-client
@@ -21,7 +21,15 @@ CFLAGS += -DMAXSPLITPARTS=500 -Idevices/ -I. -I/usr/local/include -Wall -Werror
21
ifdef LOGFILE_SIZE
22
CFLAGS += -DLOGFILE_SIZE=$(LOGFILE_SIZE)
23
endif
24
+ifeq ($(UNAME_S),Darwin)
25
+ CFLAGS += -I/opt/homebrew/include
26
+endif
27
+
28
LDFLAGS=-L /usr/local/lib -lmosquitto -lm -lcdb
29
30
+ LDFLAGS+= -L /opt/homebrew/lib
31
32
33
34
OBJS= util.o \
35
json.o \
0 commit comments