Update enetc.go

Library names are case sensitive when compiling from WSL
This commit is contained in:
Gary 2025-02-26 17:35:53 -06:00 committed by GitHub
parent 4dd2fcc212
commit 4838c0e53d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@ package enet
// #cgo !windows pkg-config: libenet
// #cgo windows CFLAGS: -Ienet/include/
// #cgo windows LDFLAGS: -Lenet/ -lenet -lWs2_32 -lWinmm
// #cgo windows LDFLAGS: -Lenet/ -lenet -lws2_32 -lwinmm
// #include <enet/enet.h>
import "C"
import "fmt"