Skip to content

Commit 7afb7c6

Browse files
committed
Fix binary package build script on OS X
1 parent b6ce600 commit 7afb7c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/build_binary_package.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ done;
2626

2727
if [ "$1" == "darwin" ]; then
2828
# cocoa/power.mm compiled twice! Delete one of them
29-
rm baselib_cocoa_power_darwin_amd64.o
29+
rm baselib_cocoa_power.o
3030
fi;
3131

3232
# Windows has a limit of maximum command line characers. If we simply copy
@@ -62,6 +62,7 @@ mv *.syso $GOPATH/src/github.com/dontpanic92/wxGo/wx/
6262
export GOARCH=$2
6363
export GOOS=$1
6464
export CGO_ENABLED=1
65+
go version
6566
go env
6667
go install -tags "wxgo_binary_package_build" -x github.com/dontpanic92/wxGo/wx
6768

0 commit comments

Comments
 (0)