Skip to content

Commit

Permalink
Merge pull request #112 from abeaumont/fix/darwin-shared-lib-build
Browse files Browse the repository at this point in the history
build: Fix cross compilation of darwin shared library
  • Loading branch information
abeaumont authored Sep 29, 2017
2 parents 557cc51 + 4892115 commit ded6d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ darwin-shared: $(DARWIN_SHARED_LIB)

$(DARWIN_SHARED_LIB):
mkdir -p $(DARWIN_DIR) && \
GOOS=darwin GOARCH=amd64 go build -buildmode=c-shared -o $(DARWIN_SHARED_LIB) $(NATIVE_LIB) && \
CC="o64-clang" CXX="o64-clang++" CGO_ENABLED=1 GOOS=darwin go build -buildmode=c-shared -o $(DARWIN_SHARED_LIB) $(NATIVE_LIB) && \
mv $(DARWIN_DIR)/$(HEADER_FILE) $(RESOURCES_DIR)/$(HEADER_FILE)

$(LINUX_SHARED_LIB):
Expand Down

0 comments on commit ded6d36

Please sign in to comment.