2
0
Эх сурвалжийг харах

improve detection of linux, fixes #3201

Juan Linietsky 9 жил өмнө
parent
commit
78b5404434

+ 1 - 1
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'])