From c1ff887dab8b114f88772ad6fd58484630aad860 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Thu, 2 May 2019 08:42:39 -0700 Subject: [PATCH] Link a static version of libuast for Darwin. Part of the fix for https://github.com/bblfsh/client-python/issues/156. Signed-off-by: M. J. Fromberger --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 28268d6..5963c7f 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ build-linux: $(DEPS_C) $(DEPS_GO) build-darwin: $(DEPS_C) $(DEPS_GO) mkdir -p $(OUT_OSX) && \ GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 $(GO_BUILD) $(BUILD_MODE) -o=$(OUT_OSX)/$(OUT_NAME).so $(SRC_DIR)/ && \ + GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 $(GO_BUILD) $(BUILD_MODE_STATIC) -o=$(OUT_OSX)/$(OUT_NAME).a $(SRC_DIR)/ && \ $(GEN_HEADER) $(OUT_OSX)/$(OUT_HEADER) && \ $(CP_HEADERS) $(OUT_OSX)/