Merge pull request #263 from OpenFactorioServerManager/fix-glibc

dont build static on linux
This commit is contained in:
knoxfighter 2021-03-01 19:48:50 +01:00 committed by GitHub
commit c06872f3d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ factorio-server-manager-linux:
@echo "Building Backend - Linux" @echo "Building Backend - Linux"
@mkdir -p factorio-server-manager @mkdir -p factorio-server-manager
@cd src; \ @cd src; \
CGO_ENABLED=1 GO111MODULE=on GOOS=linux GOARCH=amd64 go build -ldflags="-extldflags=-static" -o ../factorio-server-manager/factorio-server-manager . CGO_ENABLED=1 GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o ../factorio-server-manager/factorio-server-manager .
factorio-server-manager-windows: factorio-server-manager-windows:
@echo "Building Backend - Windows" @echo "Building Backend - Windows"