Skip to content

Commit c428a77

Browse files
ndeloofglours
authored andcommitted
set fsnotify build tag when building for OSX
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
1 parent 04b4a83 commit c428a77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN --mount=type=bind,target=. \
8383
--mount=type=cache,target=/go/pkg/mod \
8484
--mount=type=bind,from=osxcross,src=/osxsdk,target=/xx-sdk \
8585
xx-go --wrap && \
86-
if [ "$(xx-info os)" == "darwin" ]; then export CGO_ENABLED=1; fi && \
86+
if [ "$(xx-info os)" == "darwin" ]; then export CGO_ENABLED=1; export BUILD_TAGS=fsnotify,$BUILD_TAGS; fi && \
8787
make build GO_BUILDTAGS="$BUILD_TAGS" DESTDIR=/out && \
8888
xx-verify --static /out/docker-compose
8989

0 commit comments

Comments
 (0)