From 78b5404434eefce497ef9d49e25645afcda93710 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 8 Dec 2015 20:35:40 -0300 Subject: [PATCH] improve detection of linux, fixes #3201 --- platform/x11/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 349e58cd7af..38076762e8e 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -148,7 +148,7 @@ def configure(env): env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED']) - if platform.platform() == 'Linux': + if platform.platform().find('Linux')>=0: env.Append(CPPFLAGS=["-DALSA_ENABLED"]) env.Append(LIBS=['asound'])