File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ DYLIB_ARCHES := darwin_amd64 darwin_arm64
84
84
85
85
# Computed variables based on the above.
86
86
CODER_SLIM_BINARIES := $(addprefix build/coder-slim_$(VERSION ) _,$(OS_ARCHES ) )
87
- CODER_DYLIBS := $(foreach os_arch, $(DYLIB_ARCHES ) , build/coder-vpn_$(VERSION ) _$(os_arch ) .dylib )
87
+ CODER_DYLIBS := $(foreach os_arch, $(DYLIB_ARCHES ) , build/coder-vpn_$(VERSION ) _$(os_arch ) )
88
88
CODER_FAT_BINARIES := $(addprefix build/coder_$(VERSION ) _,$(OS_ARCHES ) )
89
89
CODER_ALL_BINARIES := $(CODER_SLIM_BINARIES ) $(CODER_FAT_BINARIES )
90
90
CODER_TAR_GZ_ARCHIVES := $(foreach os_arch, $(ARCHIVE_TAR_GZ ) , build/coder_$(VERSION ) _$(os_arch ) .tar.gz)
@@ -250,11 +250,11 @@ $(CODER_DYLIBS): go.mod go.sum $(GO_SRC_FILES)
250
250
--os " $$ os" \
251
251
--arch " $$ arch" \
252
252
--version " $( VERSION) " \
253
- --output " $@ " \
253
+ --output " $@ .dylib " \
254
254
--dylib
255
255
256
- cp "$@" "./site/out/bin/coder-vpn-$$os-$$arch.dylib"
257
- cp ./build/*.h "./site/out/bin/coder-vpn-$$os.h"
256
+ cp "$@.dylib" "./site/out/bin/coder-vpn-$$os-$$arch.dylib"
257
+ cp "$@.h" "./site/out/bin/coder-vpn-$$os.h"
258
258
else
259
259
echo "Skipping dylib build on non-Darwin OS"
260
260
fi
You can’t perform that action at this time.
0 commit comments