summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2013-05-12 10:13:47 +0100
committerVincent Sanders <vincent.sanders@collabora.co.uk>2013-05-12 10:13:47 +0100
commitdf7c3fd201cd88fd7989566303ca3937cbc7642d (patch)
treeed390f9d6fdd03bce96f270e95f9a33ac6b33c69
parent9aeab2e5176285583f8d669ba79ce6ff45b81a00 (diff)
downloadlibnsfb-df7c3fd201cd88fd7989566303ca3937cbc7642d.tar.gz
libnsfb-df7c3fd201cd88fd7989566303ca3937cbc7642d.tar.bz2
make linux framebuffer build depend on TARGET=Linux
-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)