diff --git a/pgo/libs/libphysx-c.a b/pgo/libs/libphysxc_checked_windows_amd64.a similarity index 100% rename from pgo/libs/libphysx-c.a rename to pgo/libs/libphysxc_checked_windows_amd64.a diff --git a/pgo/libs/libphysxc_release_windows_amd64.a b/pgo/libs/libphysxc_release_windows_amd64.a new file mode 100755 index 0000000..257a945 Binary files /dev/null and b/pgo/libs/libphysxc_release_windows_amd64.a differ diff --git a/pgo/pgo.go b/pgo/pgo.go index 0d01896..0de8641 100755 --- a/pgo/pgo.go +++ b/pgo/pgo.go @@ -2,7 +2,11 @@ package pgo /* #cgo CFLAGS: -I physx-c -#cgo LDFLAGS: -L ./libs -l physx-c +#cgo LDFLAGS: -L ./libs + +// NOTE: If you change this update rigiddynamic.go as well +#cgo windows,amd64 LDFLAGS: -l physxc_checked_windows_amd64 +#cgo windows,amd64,physx_release LDFLAGS: -l physxc_release_windows_amd64 #include #include //Needed for C.free diff --git a/pgo/rigiddynamic.go b/pgo/rigiddynamic.go index 755d066..e095306 100755 --- a/pgo/rigiddynamic.go +++ b/pgo/rigiddynamic.go @@ -2,7 +2,11 @@ package pgo /* #cgo CFLAGS: -I physx-c -#cgo LDFLAGS: -L ./libs -l physx-c +#cgo LDFLAGS: -L ./libs + +// NOTE: If you change this update pgo.go as well +#cgo windows,amd64 LDFLAGS: -l physxc_checked_windows_amd64 +#cgo windows,amd64,physx_release LDFLAGS: -l physxc_release_windows_amd64 #include #include //Needed for C.free