mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
examples/flappy: add GoMain when Windows+Cgo
This is a hack to compile the example with -buildmode=c-archive (.a). Updates #2084
This commit is contained in:
parent
cf914bfe00
commit
2c4ac5625b
@ -12,8 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build example && ebitencbackend
|
||||
// +build example,ebitencbackend
|
||||
//go:build example && (ebitencbackend || (windows && cgo))
|
||||
// +build example
|
||||
// +build ebitencbackend windows,cgo
|
||||
|
||||
// This file is for some special environments using `ebitencbackend`.
|
||||
// You usually don't have to care about this file.
|
Loading…
Reference in New Issue
Block a user