Fix #14088 and #14089 on NetBSD (#14104)

* Set path to libSDL for NetBSD.

* Disable SFML test on NetBSD
This commit is contained in:
Euan
2020-04-24 13:30:41 +01:00
committed by GitHub
parent 706de1a566
commit f3eeb3f921
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
when defined(Windows):
const libName* = "SDL2.dll"
elif defined(Linux) or defined(freebsd):
elif defined(Linux) or defined(freebsd) or defined(netbsd):
const libName* = "libSDL2.so"
elif defined(MacOsX):
const libName* = "libSDL2.dylib"

View File

@@ -3,6 +3,7 @@ action: compile
disabled: "windows"
disabled: "freebsd"
disabled: "openbsd"
disabled: "netbsd"
"""
import sfml, os