summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 50cae71..dc3daee 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,11 @@ $(eval $(call pkg_config_package_available,NSFB_WLD_AVAILABLE,wayland-client))
# surfaces not detectable via pkg-config
NSFB_ABLE_AVAILABLE := no
-NSFB_LINUX_AVAILABLE := yes
+ifeq ($(TARGET),Linux)
+ NSFB_LINUX_AVAILABLE := yes
+else
+ NSFB_LINUX_AVAILABLE := no
+endif
# Flags and setup for each support library
ifeq ($(NSFB_SDL_AVAILABLE),yes)