summaryrefslogtreecommitdiff
path: root/make-mac.mk
diff options
context:
space:
mode:
authorGrant Limberg <[email protected]>2019-10-31 14:04:25 -0700
committerGrant Limberg <[email protected]>2019-10-31 14:04:25 -0700
commit74478b24b0542e8b454f60cb99ff78099f550464 (patch)
tree9248544dce1398b8a9b27271f7c485854d6db209 /make-mac.mk
parent0767ea5d693f6c79874e0ddfbc6b4796e64e6951 (diff)
add librabbitmq binaries for macos for testing central controller
Diffstat (limited to 'make-mac.mk')
-rw-r--r--make-mac.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/make-mac.mk b/make-mac.mk
index c71b3f77..545dabee 100644
--- a/make-mac.mk
+++ b/make-mac.mk
@@ -22,8 +22,9 @@ include objects.mk
ONE_OBJS+=osdep/MacEthernetTap.o osdep/MacKextEthernetTap.o ext/http-parser/http_parser.o
ifeq ($(ZT_CONTROLLER),1)
- LIBS+=-lpq -lrabbitmq
+ LIBS+=-L/usr/local/opt/libpq/lib -lpq -Lext/librabbitmq/macos/lib -lrabbitmq
DEFS+=-DZT_CONTROLLER_USE_LIBPQ -DZT_CONTROLLER
+ INCLUDES+=-Iext/librabbitmq/macos/include -I/usr/local/opt/libpq/include
endif
# Official releases are signed with our Apple cert and apply software updates by default