Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Link a static version of libuast for Darwin.
Browse files Browse the repository at this point in the history
Part of the fix for bblfsh/python-client#156.

Signed-off-by: M. J. Fromberger <[email protected]>
  • Loading branch information
creachadair authored and dennwc committed May 2, 2019
1 parent 037d8e4 commit c1ff887
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)/

Expand Down

0 comments on commit c1ff887

Please sign in to comment.