We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6508c commit b760eadCopy full SHA for b760ead
go/adbc/pkg/Makefile
@@ -35,7 +35,7 @@ DRIVERS := \
35
all: $(DRIVERS)
36
37
libadbc_driver_%.$(SUFFIX): %
38
- $(GO_BUILD) -tags driverlib -o $@ -buildmode=c-shared -ldflags "-s -w" ./$<
+ CGO_CFLAGS="-DADBC_EXPORTING -DADBC_BUILD_DLL" $(GO_BUILD) -tags driverlib -o $@ -buildmode=c-shared -ldflags "-s -w" ./$<
39
$(RM) $(basename $@).h
40
41
regenerate:
0 commit comments