mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-10 06:54:16 +00:00
* Set path to libSDL for NetBSD. * Disable SFML test on NetBSD
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -3,6 +3,7 @@ action: compile
|
||||
disabled: "windows"
|
||||
disabled: "freebsd"
|
||||
disabled: "openbsd"
|
||||
disabled: "netbsd"
|
||||
"""
|
||||
|
||||
import sfml, os
|
||||
|
||||
Reference in New Issue
Block a user